]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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>
Wed, 8 Feb 2023 22:14:58 +0000 (17:14 -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 477be4b62bc37633bfbfe852004cab98cd9fa105..620f7409825dfe24d69f85d427f8c579c7bd1aad 100644 (file)
@@ -677,7 +677,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;