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 @@ -1038,8 +1038,13 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
1038
1038
case CHIP_VEGA20 :
1039
1039
break ;
1040
1040
case CHIP_RAVEN :
1041
- if (!(adev -> rev_id >= 0x8 || adev -> pdev -> device == 0x15d8 )
1042
- && ((adev -> gfx .rlc_fw_version != 106 &&
1041
+ /* Disable GFXOFF on original raven. There are combinations
1042
+ * of sbios and platforms that are not stable.
1043
+ */
1044
+ if (!(adev -> rev_id >= 0x8 || adev -> pdev -> device == 0x15d8 ))
1045
+ adev -> pm .pp_feature &= ~PP_GFXOFF_MASK ;
1046
+ else if (!(adev -> rev_id >= 0x8 || adev -> pdev -> device == 0x15d8 )
1047
+ && ((adev -> gfx .rlc_fw_version != 106 &&
1043
1048
adev -> gfx .rlc_fw_version < 531 ) ||
1044
1049
(adev -> gfx .rlc_fw_version == 53815 ) ||
1045
1050
(adev -> gfx .rlc_feature_version < 1 ) ||
You can’t perform that action at this time.
0 commit comments