]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: Add NBIO IP v7.11.3 support
authorTim Huang <Tim.Huang@amd.com>
Tue, 14 May 2024 07:04:02 +0000 (15:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2024 22:06:06 +0000 (18:06 -0400)
Enable setting soc21 common clockgating for NBIO 7.11.3.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c

index b04c763015d37f1b27a809eb65078550e7610c3f..b43c50f1c7ad55b338d9914307b874891ab3d55c 100644 (file)
@@ -953,6 +953,7 @@ static int soc21_common_set_clockgating_state(void *handle,
        case IP_VERSION(7, 7, 1):
        case IP_VERSION(7, 11, 0):
        case IP_VERSION(7, 11, 1):
+       case IP_VERSION(7, 11, 3):
                adev->nbio.funcs->update_medium_grain_clock_gating(adev,
                                state == AMD_CG_STATE_GATE);
                adev->nbio.funcs->update_medium_grain_light_sleep(adev,