drm/amd/amdgpu: enable athub cg 11.0.3
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 3 Feb 2023 06:19:37 +0000 (14:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 03:18:13 +0000 (22:18 -0500)
enable athub cg on gc 11.0.3

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c

index 9eff5f4..7050238 100644 (file)
@@ -641,7 +641,9 @@ static int soc21_common_early_init(void *handle)
                        AMD_CG_SUPPORT_GFX_CGLS |
                        AMD_CG_SUPPORT_REPEATER_FGCG |
                        AMD_CG_SUPPORT_GFX_MGCG |
-                       AMD_CG_SUPPORT_HDP_SD;
+                       AMD_CG_SUPPORT_HDP_SD |
+                       AMD_CG_SUPPORT_ATHUB_MGCG |
+                       AMD_CG_SUPPORT_ATHUB_LS;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_JPEG;