From: Le Ma Date: Wed, 7 Aug 2019 07:17:38 +0000 (+0800) Subject: drm/amdgpu: enable hdp clock gating for Arcturus X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5d111f5b3a318bb98be640ad5e9198b6366fd6e9;p=linux.git drm/amdgpu: enable hdp clock gating for Arcturus Init hdp MGCG/LS flag as Vega20 Signed-off-by: Le Ma Reviewed-by: Feifei Xu Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 258cbaafb5353..1e21d4264e61a 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1122,7 +1122,9 @@ static int soc15_common_early_init(void *handle) adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | AMD_CG_SUPPORT_GFX_MGLS | AMD_CG_SUPPORT_GFX_CGCG | - AMD_CG_SUPPORT_GFX_CGLS; + AMD_CG_SUPPORT_GFX_CGLS | + AMD_CG_SUPPORT_HDP_MGCG | + AMD_CG_SUPPORT_HDP_LS; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x32; break;