From: Huang Rui Date: Tue, 17 Jan 2017 07:09:37 +0000 (+0800) Subject: drm/amdgpu: reuse sdma v4 MGCG and LS function for raven X-Git-Tag: microblaze-4.14-rc3~487^2~24^2~234 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=93e2b09357af78d45a14a3b63bb9a3f3ac77c54b;p=linux-2.6-microblaze.git drm/amdgpu: reuse sdma v4 MGCG and LS function for raven Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 645be9001598..2afcadbb1730 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -1441,13 +1441,12 @@ static int sdma_v4_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_RAVEN: 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, state == AMD_CG_STATE_GATE ? true : false); break; - case CHIP_RAVEN: - break; default: break; }