Commit ece3cbad authored by Chengming Gui's avatar Chengming Gui Committed by Alex Deucher
Browse files

drm/amd/amdgpu: Enable gfxoff for beige_goby



Enable gfxoff in driver side based on SMC#73.3

v2: fix typo 'Eanble' --> 'Enable'

Signed-off-by: default avatarChengming Gui <Jack.Gui@amd.com>
Reviewed-by: default avatarTao Zhou <tao.zhou1@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ac79f42a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8064,6 +8064,7 @@ static int gfx_v10_0_set_powergating_state(void *handle,
	case CHIP_SIENNA_CICHLID:
	case CHIP_NAVY_FLOUNDER:
	case CHIP_DIMGREY_CAVEFISH:
	case CHIP_BEIGE_GOBY:
		amdgpu_gfx_off_ctrl(adev, enable);
		break;
	case CHIP_VANGOGH:
+1 −0
Original line number Diff line number Diff line
@@ -1128,6 +1128,7 @@ int smu_v11_0_gfx_off_control(struct smu_context *smu, bool enable)
	case CHIP_SIENNA_CICHLID:
	case CHIP_NAVY_FLOUNDER:
	case CHIP_DIMGREY_CAVEFISH:
	case CHIP_BEIGE_GOBY:
	case CHIP_VANGOGH:
		if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
			return 0;