drm/amdgpu/mes11: disable MES RS64 process/gang context loading
Subsystems (2)
PATCH 1/1 drm/amdgpu/mes11: disable MES RS64 process/gang context loading
The MES RS64 local memory process/gang context index may be updated, saved, or restored improperly during queue eviction and restore cycles. Enabling RS64 memory for MES process/gang context loading introduces two known issues:
1. Performance regression on userq due to improper context index handling during RS64 memory access.
2. KFDIPCTest.BasicTest failure on Navi31/32/33: the IPC buffer GPU VA mapping is not correctly reflected in the restored RS64 process context, causing GPU page faults on the IPC shared buffer address, which eventually leads to MES firmware becoming unresponsive and requiring a full GPU reset to recover.
Temporarily disable MES RS64 process/gang context loading until both issues are resolved.
--- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
@@ -1954,7 +1954,7 @@ static int mes_v11_0_hw_init(struct amdgpu_ip_block *ip_block)if (adev->mes.ring[0 ].sched.ready) goto out; - adev->mes.use_rs64mem = true; + adev->mes.use_rs64mem = false;if (!adev->enable_mes_kiq) {if (adev->firmware.load_type ==AMDGPU_FW_LOAD_DIRECT ) {
Signature · 1 line
2.34.1
AMD General
________________________________
From: Liang, Prike <[email protected]>
Sent: Friday, August 7, 2026 6:10 AM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Chen, Michael <[email protected]>; Liang, Prike <[email protected]>
Subject: [PATCH] drm/amdgpu/mes11: disable MES RS64 process/gang context loading
The MES RS64 local memory process/gang context index may be updated, saved, or restored improperly during queue eviction and restore cycles. Enabling RS64 memory for MES process/gang context loading introduces two known issues:
1. Performance regression on userq due to improper context index handling during RS64 memory access.
2. KFDIPCTest.BasicTest failure on Navi31/32/33: the IPC buffer GPU VA mapping is not correctly reflected in the restored RS64 process context, causing GPU page faults on the IPC shared buffer address, which eventually leads to MES firmware becoming unresponsive and requiring a full GPU reset to recover.
Temporarily disable MES RS64 process/gang context loading until both issues are resolved.
--- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
@@ -1954,7 +1954,7 @@ static int mes_v11_0_hw_init(struct amdgpu_ip_block *ip_block)if (adev->mes.ring[0 ].sched.ready) goto out; - adev->mes.use_rs64mem = true; + adev->mes.use_rs64mem = false;if (!adev->enable_mes_kiq) {if (adev->firmware.load_type ==AMDGPU_FW_LOAD_DIRECT ) {
--
2.34.1