drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:42:07 +0000 (02:42 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:42:07 +0000 (02:42 +0000)
From Tim Huang
a74805429d38775ac5cc24a8b04df74afe449ffb in linux-6.1.y/6.1.8
f9caa237372b106b5e70ba1a4bfd4222eb79ec71 in mainline linux

sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c

index b865d81..b4dbc09 100644 (file)
@@ -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;