Commit e6b2a7d2 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: explicitly set pg_flags for ST



No need to retain previous settings as this is the first time
we set pg_flags.  Probably a copy/paste typo from the CZ code.
Avoids confusion.

No change in behavior as adev is kzallocated.

Reviewed-by: default avatarTom St Denis <tom.stdenis@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0711257e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1651,7 +1651,7 @@ static int vi_common_early_init(void *handle)
			AMD_CG_SUPPORT_SDMA_MGCG |
			AMD_CG_SUPPORT_SDMA_LS |
			AMD_CG_SUPPORT_VCE_MGCG;
		adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
		adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
			AMD_PG_SUPPORT_GFX_SMG |
			AMD_PG_SUPPORT_GFX_PIPELINE |
			AMD_PG_SUPPORT_UVD |