Commit 9a868d8b authored by Prike Liang's avatar Prike Liang Committed by Alex Deucher
Browse files

drm/amdgpu: enable SDMA power gating for rn



Enable SDMA PG flag during device ip early init.

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 91c5b6b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1174,7 +1174,7 @@ static int soc15_common_early_init(void *handle)
				 AMD_CG_SUPPORT_ATHUB_LS |
				 AMD_CG_SUPPORT_ATHUB_MGCG |
				 AMD_CG_SUPPORT_DF_MGCG;
		adev->pg_flags = 0;
		adev->pg_flags = AMD_PG_SUPPORT_SDMA;
		adev->external_rev_id = adev->rev_id + 0x91;

		if (adev->pm.pp_feature & PP_GFXOFF_MASK)