From: Tim Huang Date: Mon, 5 Dec 2022 06:18:23 +0000 (+0800) Subject: drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4 X-Git-Tag: v6.1.8~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a74805429d38775ac5cc24a8b04df74afe449ffb;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4 commit f9caa237372b106b5e70ba1a4bfd4222eb79ec71 upstream. Enable GFX IP v11.0.4 CG gate/ungate control. Signed-off-by: Tim Huang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Cc: "Limonciello, Mario" Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index c150314560a1..5e3868a7e95a 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -5088,6 +5088,7 @@ static int gfx_v11_0_set_clockgating_state(void *handle, case IP_VERSION(11, 0, 1): case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 3): + case IP_VERSION(11, 0, 4): gfx_v11_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE); break;