Commit 0134022f authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/pm: enable baco reset for Hawaii

Which can be used for S4(hibernation) support.
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Tested-by: default avatarSandeep Raghuraman <sandy.8925@gmail.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8a76ccd1
...@@ -1336,11 +1336,13 @@ cik_asic_reset_method(struct amdgpu_device *adev) ...@@ -1336,11 +1336,13 @@ cik_asic_reset_method(struct amdgpu_device *adev)
switch (adev->asic_type) { switch (adev->asic_type) {
case CHIP_BONAIRE: case CHIP_BONAIRE:
case CHIP_HAWAII:
/* disable baco reset until it works */ /* disable baco reset until it works */
/* smu7_asic_get_baco_capability(adev, &baco_reset); */ /* smu7_asic_get_baco_capability(adev, &baco_reset); */
baco_reset = false; baco_reset = false;
break; break;
case CHIP_HAWAII:
baco_reset = cik_asic_supports_baco(adev);
break;
default: default:
baco_reset = false; baco_reset = false;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment