drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4
authorTim Huang <tim.huang@amd.com>
Mon, 5 Dec 2022 06:18:23 +0000 (14:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2022 15:18:08 +0000 (10:18 -0500)
Enable GFX IP v11.0.4 CG gate/ungate control.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

index 506c285..a56c6e1 100644 (file)
@@ -5116,6 +5116,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;