From 8dc7e07cfff544640d4606165bbd27b48aff6538 Mon Sep 17 00:00:00 2001 From: Le Ma Date: Wed, 7 Aug 2019 15:47:34 +0800 Subject: [PATCH] drm/amdgpu: add sdma clock gating for Arcturus Add ARCTURUS case in sdma set clockgating function Signed-off-by: Le Ma Reviewed-by: Feifei Xu Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index c0d8e27cd41b..9fec80010861 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -2159,6 +2159,7 @@ static int sdma_v4_0_set_clockgating_state(void *handle, case CHIP_VEGA12: case CHIP_VEGA20: case CHIP_RAVEN: + case CHIP_ARCTURUS: 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, -- 2.30.2