MES 12.0 0x8d advertised per-queue reset, but the MES reset API excution 
timeout randomly,
and the kernel falls back to a full GPU reset. The working reset lands in MES 
fw 0x91;

Fixes: f67c8180c9ef ("drm/amdgpu: Add gfx12.0.1 adev to queue reset support")

Signed-off-by: Jesse Zhang <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index 6c0dde3786e3..ab974ea659a8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -869,7 +869,7 @@ bool amdgpu_mes_queue_reset_by_mes_supported(struct 
amdgpu_device *adev)
        u32 mes_sched = adev->mes.sched_version & AMDGPU_MES_VERSION_MASK;
 
        return (ip_maj == 11 && mes_sched >= 0x8c) ||
-               ((ip_maj == 12 && ip_min == 0) && mes_sched >= 0x8d) ||
+               ((ip_maj == 12 && ip_min == 0) && mes_sched >= 0x91) ||
                ((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x73);
 }
 
-- 
2.49.0

Reply via email to