]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/mes: add compatibility checks for set_hw_resource_1
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 May 2025 14:02:14 +0000 (10:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 13:54:33 +0000 (09:54 -0400)
commit0180e0a5dd5c6ff118043ee42dbbbddaf881f283
tree940f26f6a54f2a3e4b7c8d0245d6187f8056bb54
parent99808926d0ea6234a89e35240a7cb088368de9e1
drm/amdgpu/mes: add compatibility checks for set_hw_resource_1

Seems some older MES firmware versions do not properly support
this packet.  Add back some the compatibility checks.

v2: switch to fw version check (Shaoyun)

Fixes: f81cd793119e ("drm/amd/amdgpu: Fix MES init sequence")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4295
Cc: Shaoyun Liu <shaoyun.liu@amd.com>
Reviewed-by: shaoyun.liu <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c