From: Alex Deucher Date: Sat, 2 Sep 2017 06:26:50 +0000 (-0400) Subject: drm/amdgpu/gfx9: add clockgating support for vega12 X-Git-Tag: for-linus-20180413~101^2~4^2~32 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=23862464f806ceab84854ba2422774b29a7225bc;p=linux-2.6-block.git drm/amdgpu/gfx9: add clockgating support for vega12 Same as vega10 and raven. Acked-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Feifei Xu --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 673b81841500..9ce1e9e552d9 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -3505,6 +3505,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: gfx_v9_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false);