]> www.infradead.org Git - users/jedix/linux-maple.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 14:34:56 +0000 (10:34 -0400)
commit99579c55c3d6132a5236926652c0a72a526b809d
tree02ae0be60c4189a0919f69b307f95132ca01acde
parent0043ec26d827ddb1e85bd9786693152aa6f55d16
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>
(cherry picked from commit 0180e0a5dd5c6ff118043ee42dbbbddaf881f283)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c