From: Prike Liang Date: Fri, 2 Aug 2019 07:10:45 +0000 (+0800) Subject: drm/amdgpu: enable sdma clock gating for rn X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ef0e7d08a53248afefe3759df912c9d288baa6c9;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable sdma clock gating for rn Enable sdma middle grain and light sleep 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 e3c103cfbe4b..b1f9e7fc3b7d 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1163,7 +1163,9 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_CGLS | AMD_CG_SUPPORT_GFX_CP_LS | AMD_CG_SUPPORT_MC_MGCG | - AMD_CG_SUPPORT_MC_LS; + AMD_CG_SUPPORT_MC_LS | + AMD_CG_SUPPORT_SDMA_MGCG | + AMD_CG_SUPPORT_SDMA_LS; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x91;