drm/amdgpu: enable gfx clock gating control for GC 10.3.7
authorPrike Liang <Prike.Liang@amd.com>
Tue, 1 Mar 2022 02:48:11 +0000 (10:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2022 23:40:06 +0000 (18:40 -0500)
Enable gfx cg gate/ungate control for GC 10.3.7.

Signed-off-by: Prike Liang <Prike.Liang@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_v10_0.c

index 90158289cd304693451778b0c28ab94f93f6f80b..fd7ded7799e2de2a61764d9164436119c97b20d4 100644 (file)
@@ -8445,6 +8445,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle,
        case IP_VERSION(10, 3, 5):
        case IP_VERSION(10, 3, 6):
        case IP_VERSION(10, 3, 3):
+       case IP_VERSION(10, 3, 7):
                gfx_v10_0_update_gfx_clock_gating(adev,
                                                 state == AMD_CG_STATE_GATE);
                break;