summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2019-08-07 10:48:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 20:47:48 +0300
commitf7ee1995282c804cef69ead5d3a8ba79b371dde2 (patch)
tree4bd6705af783fb26bc7bb5a1235088e509081cb4 /drivers/gpu/drm/amd/amdgpu/soc15.c
parent8dc7e07cfff544640d4606165bbd27b48aff6538 (diff)
downloadlinux-f7ee1995282c804cef69ead5d3a8ba79b371dde2.tar.xz
drm/amdgpu: enable sdma clock gating for Arcturus
Init sdma MGCG/LS flag Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c4
1 files changed, 3 insertions, 1 deletions
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;