drm/amdgpu: enable ih CG for beige_goby
authorTao Zhou <tao.zhou1@amd.com>
Fri, 19 Mar 2021 06:48:28 +0000 (14:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:41:30 +0000 (22:41 -0400)
Enable ih clock gating for beige_goby.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 20f937d667481aedb3f723592842825d25a29cb4..90012e5408e789ab18c71b4deca955ee4f7597f2 100644 (file)
@@ -1284,7 +1284,8 @@ static int nv_common_early_init(void *handle)
                        AMD_CG_SUPPORT_MC_MGCG |
                        AMD_CG_SUPPORT_MC_LS |
                        AMD_CG_SUPPORT_HDP_MGCG |
-                       AMD_CG_SUPPORT_HDP_LS;
+                       AMD_CG_SUPPORT_HDP_LS |
+                       AMD_CG_SUPPORT_IH_CG;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_ATHUB |