From: Xiaojie Yuan Date: Mon, 17 Dec 2018 10:22:16 +0000 (+0800) Subject: drm/amdgpu/gfx10: add clockgating support for navi14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=41957a8ea9e0fb2d57b9d3b429f197ad96d42ac1;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/gfx10: add clockgating support for navi14 Same as navi10. Signed-off-by: Xiaojie Yuan Reviewed-by: Alex Deucher Reviewed-by: Jack Xiao Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 0767827b8509..18f302054c3d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -4078,6 +4078,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_NAVI10: + case CHIP_NAVI14: gfx_v10_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false); break;