From: Le Ma Date: Wed, 7 Aug 2019 07:48:44 +0000 (+0800) Subject: drm/amdgpu: enable sdma clock gating for Arcturus X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f7ee1995282c804cef69ead5d3a8ba79b371dde2;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable sdma clock gating for Arcturus Init sdma MGCG/LS flag 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 1e21d4264e61..0b0b317e00fe 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1124,7 +1124,9 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_CGLS | AMD_CG_SUPPORT_HDP_MGCG | - AMD_CG_SUPPORT_HDP_LS; + AMD_CG_SUPPORT_HDP_LS | + AMD_CG_SUPPORT_SDMA_MGCG | + AMD_CG_SUPPORT_SDMA_LS; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x32; break;