Skip to content

Commit 8fc4134

Browse files
committed
drm/amdgpu: disable gfxoff on original raven
There are still combinations of sbios and firmware that are not stable. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=204689 Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 5355d7e commit 8fc4134

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,13 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
10511051
case CHIP_VEGA20:
10521052
break;
10531053
case CHIP_RAVEN:
1054-
if (!(adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8)
1055-
&&((adev->gfx.rlc_fw_version != 106 &&
1054+
/* Disable GFXOFF on original raven. There are combinations
1055+
* of sbios and platforms that are not stable.
1056+
*/
1057+
if (!(adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8))
1058+
adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
1059+
else if (!(adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8)
1060+
&&((adev->gfx.rlc_fw_version != 106 &&
10561061
adev->gfx.rlc_fw_version < 531) ||
10571062
(adev->gfx.rlc_fw_version == 53815) ||
10581063
(adev->gfx.rlc_feature_version < 1) ||

0 commit comments

Comments
 (0)