From: Aaron Liu Date: Tue, 12 Jan 2021 08:51:59 +0000 (+0800) Subject: drm/amdgpu: add IH Clock Gating support for yellow carp X-Git-Tag: v5.15~765^2~15^2~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db72c3fac913058b3c6c379a904ceb79c78b9659;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu: add IH Clock Gating support for yellow carp IH CG need to be enabled by driver. Signed-off-by: Aaron Liu Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 15f5d9a..fc3ad33 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1340,7 +1340,8 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_HDP_MGCG | AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_ATHUB_MGCG | - AMD_CG_SUPPORT_ATHUB_LS; + AMD_CG_SUPPORT_ATHUB_LS | + AMD_CG_SUPPORT_IH_CG; adev->pg_flags = AMD_PG_SUPPORT_GFX_PG; adev->external_rev_id = adev->rev_id + 0x01; break;