From: Feifei Xu Date: Tue, 23 Jan 2018 07:03:36 +0000 (+0800) Subject: drm/amdgpu/gfx9: Add clockgatting support for vega20 X-Git-Tag: for-linus-20180616~70^2~2^2~101 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=28b576b27a7acb29ce5b64da69d3855f6302350d;p=linux-block.git drm/amdgpu/gfx9: Add clockgatting support for vega20 Reviewed-by: Christian König Signed-off-by: Feifei Xu Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 92ed268a1b7f..13253e09f4bd 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -3724,6 +3724,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_VEGA10: case CHIP_VEGA12: + case CHIP_VEGA20: case CHIP_RAVEN: gfx_v9_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false);