]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: add MMHUB Clock Gating support for yellow carp
authorAaron Liu <aaron.liu@amd.com>
Tue, 5 Jan 2021 09:29:03 +0000 (17:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:14 +0000 (16:03 -0400)
Add AMD_CG_SUPPORT_MC_MGCG/AMD_CG_SUPPORT_MC_LS support.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index a605cbfd7fc9d271d8ace2dc83fb7d8e6a59025c..e9e6ac40e75bf8e723a62b61ae2d54c37d3b498d 100644 (file)
@@ -1333,7 +1333,9 @@ static int nv_common_early_init(void *handle)
                        AMD_CG_SUPPORT_GFX_3D_CGLS |
                        AMD_CG_SUPPORT_GFX_RLC_LS |
                        AMD_CG_SUPPORT_GFX_CP_LS |
-                       AMD_CG_SUPPORT_GFX_FGCG;
+                       AMD_CG_SUPPORT_GFX_FGCG |
+                       AMD_CG_SUPPORT_MC_MGCG |
+                       AMD_CG_SUPPORT_MC_LS;
                adev->pg_flags = 0;
                adev->external_rev_id = adev->rev_id + 0x01;
                break;