drm/amdgpu: enable ih CG for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Mon, 10 Aug 2020 09:48:34 +0000 (17:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:02:43 +0000 (14:02 -0400)
Set ih CG flag for dimgrey_cavefish.

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

index c73ad04..e6bc7f0 100644 (file)
@@ -919,7 +919,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_JPEG |