]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: fix gfx12 mes packet status return check
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 9 Oct 2025 14:45:42 +0000 (10:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2025 14:24:25 +0000 (16:24 +0200)
commitf63c5e4354967a7f8f6a2044db27188b96b2cf4b
tree61f83b5b845b3f00280e3c9fda3bb059d1697d50
parent2fe17ea4080705968acff786b6bff4a479d690ee
drm/amdgpu: fix gfx12 mes packet status return check

commit d0de79f66a80eeb849033fae34bd07a69ce72235 upstream.

GFX12 MES uses low 32 bits of status return for success (1 or 0)
and high bits for debug information if low bits are 0.

GFX11 MES doesn't do this so checking full 64-bit status return
for 1 or 0 is still valid.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c