File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1051,8 +1051,13 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
1051
1051
case CHIP_VEGA20 :
1052
1052
break ;
1053
1053
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 &&
1056
1061
adev -> gfx .rlc_fw_version < 531 ) ||
1057
1062
(adev -> gfx .rlc_fw_version == 53815 ) ||
1058
1063
(adev -> gfx .rlc_feature_version < 1 ) ||
You can’t perform that action at this time.
0 commit comments