From: Alex Deucher Date: Fri, 1 Sep 2017 20:39:10 +0000 (-0400) Subject: drm/amdgpu/mmhub: add clockgating support for vega12 X-Git-Tag: v4.17-rc1~185^2~4^2~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8d27677e1015b47367c9f16155b770c34d2bcf4;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/mmhub: add clockgating support for vega12 Treat it the 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/mmhub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c index 3dd5816495a5b..43f925773b574 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c @@ -733,6 +733,7 @@ int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev, switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: mmhub_v1_0_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false);