summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-08-12 15:25:18 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:40:58 -0500
commit91c5b6b3261b664296a5608830830c1fbfb63d21 (patch)
tree66842af2534abbda8de76e33edbd3b7505377a8e /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
parent2f47d6492b4c9ff05fb0d4216b6c9b987839d771 (diff)
drm/amdgpu/sdma4: set sdma clock gating for rn
Add support for SDMA clockgating on RN. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index fd0f476df9b2..1324a7ae76e5 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -2181,6 +2181,7 @@ static int sdma_v4_0_set_clockgating_state(void *handle,
case CHIP_VEGA20:
case CHIP_RAVEN:
case CHIP_ARCTURUS:
+ case CHIP_RENOIR:
sdma_v4_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
sdma_v4_0_update_medium_grain_light_sleep(adev,