Skip to contentSkip to conversation

drm/amdgpu: Update queue reset support version

PATCH In review Amber Lin 3 participants 3 messages Aug 27 – Aug 28

Subsystems (2)
lore
Share & tools
lore

Amber Lin

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Update queue reset support version

Update queue reset required MES version for MES 12.1 to 0x7b since we change the implementation from detect-and-reset method to per-queue-reset method.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +1 -1
index e0e38d6bcafc..d88c95a8117c 100644
@@ -886,7 +886,7 @@ bool amdgpu_mes_queue_reset_by_mes_supported(struct amdgpu_device *adev)
 
 	return (ip_maj == 11 && mes_sched >= 0x8c) ||
 		((ip_maj == 12 && ip_min == 0) && mes_sched >= 0x8d) ||
-		((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x73);
+		((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x7b);
 }
 
 /* Fix me -- node_id is used to identify the correct MES instances in the future */
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

AMD General

________________________________
From: Lin, Amber <[email protected]>
Sent: Thursday, August 27, 2026 3:13 PM
To: [email protected] <[email protected]>; Zhang, Jesse(Jie) <[email protected]>; Chen, Michael <[email protected]>; Liu, Shaoyun <[email protected]>
Cc: Lin, Amber <[email protected]>
Subject: [PATCH] drm/amdgpu: Update queue reset support version

Update queue reset required MES version for MES 12.1 to 0x7b since we change the implementation from detect-and-reset method to per-queue-reset method.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +1 -1
index e0e38d6bcafc..d88c95a8117c 100644
@@ -886,7 +886,7 @@ bool amdgpu_mes_queue_reset_by_mes_supported(struct amdgpu_device *adev)
 
         return (ip_maj == 11 && mes_sched >= 0x8c) ||
                 ((ip_maj == 12 && ip_min == 0) && mes_sched >= 0x8d) ||
-               ((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x73);
+               ((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x7b);
 }
 
 /* Fix me -- node_id is used to identify the correct MES instances in the future */

--
2.43.0

Reviewed-by on v1 1/1
#2 lore raw
In reply to Amber Lin

AMD General

Quoted 34 lines

-----Original Message-----
From: Lin, Amber <[email protected]>
Sent: Friday, August 28, 2026 3:13 AM
To: [email protected]; Zhang, Jesse(Jie) <[email protected]>; Chen, Michael <[email protected]>; Liu, Shaoyun <[email protected]>
Cc: Lin, Amber <[email protected]>
Subject: [PATCH] drm/amdgpu: Update queue reset support version

Update queue reset required MES version for MES 12.1 to 0x7b since we change the implementation from detect-and-reset method to per-queue-reset method.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +1 -1
index e0e38d6bcafc..d88c95a8117c 100644
@@ -886,7 +886,7 @@ bool
 amdgpu_mes_queue_reset_by_mes_supported(struct amdgpu_device *adev)
 
      return (ip_maj == 11 && mes_sched >= 0x8c) ||
              ((ip_maj == 12 && ip_min == 0) && mes_sched >= 0x8d) ||
-             ((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x73);
+             ((ip_maj == 12 && ip_min == 1) && mes_sched >= 0x7b);
 }
 

/* Fix me -- node_id is used to identify the correct MES instances in the future */
--
2.43.0