From: Prike Liang Date: Fri, 2 Aug 2019 07:24:45 +0000 (+0800) Subject: drm/amdgpu: enable vcn clock gating for rn X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=753c929cc798530ec3a4aeb27b2ea7b06daac525;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable vcn clock gating for rn Enable VCN middle grain clock gating. Signed-off-by: Prike Liang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index d919ccc91c73..4afa75e0c0e5 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1168,7 +1168,8 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_SDMA_LS | AMD_CG_SUPPORT_BIF_LS | AMD_CG_SUPPORT_HDP_LS | - AMD_CG_SUPPORT_ROM_MGCG; + AMD_CG_SUPPORT_ROM_MGCG | + AMD_CG_SUPPORT_VCN_MGCG; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x91;