From: Alex Deucher Date: Fri, 1 Sep 2017 20:50:28 +0000 (-0400) Subject: drm/amdgpu/sdma4: add clockgating support for vega12 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=900bad3fe92783472ea93cc662a83a03d5a8583b;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/sdma4: add clockgating support for vega12 Same as vega10 for now. Acked-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Feifei Xu --- diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 4eddd850b72d..3d059ecd8758 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -1497,6 +1497,7 @@ static int sdma_v4_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: sdma_v4_0_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false);