From: Feifei Xu Date: Fri, 20 Apr 2018 05:58:09 +0000 (+0800) Subject: drm/amdgpu/mmhub: Add clockgating support for vega20 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c2d7fd2baeba4c65a3cf7f61d6d54c205e4608f8;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/mmhub: Add clockgating 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/mmhub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c index 43f925773b57..3d53c4413f13 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c @@ -734,6 +734,7 @@ int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev, switch (adev->asic_type) { case CHIP_VEGA10: case CHIP_VEGA12: + case CHIP_VEGA20: case CHIP_RAVEN: mmhub_v1_0_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false);