Commit c56525193b5a ("drm/amdgpu/mes11: disable MES RS64 process/gang
context loading") turned RS64 context loading off because
KFDIPCTest.BasicTest failed with it on Navi31/32/33: the parent's GPU
accesses to the shared IPC buffer faulted until MES stopped responding.
The previous patches fix the context slot handling that would explain
this.

Load the process and gang contexts from MES local memory again, which
reduces the MES firmware and driver handshake latency.

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

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 2617c2b7f101..254a2ffc2429 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -1880,7 +1880,7 @@ static int mes_v11_0_sw_init(struct amdgpu_ip_block 
*ip_block)
        struct amdgpu_device *adev = ip_block->adev;
        int pipe, r, bo_size;
 
-       adev->mes.use_rs64mem = false;
+       adev->mes.use_rs64mem = true;
        adev->mes.funcs = &mes_v11_0_funcs;
        adev->mes.kiq_hw_init = &mes_v11_0_kiq_hw_init;
        adev->mes.kiq_hw_fini = &mes_v11_0_kiq_hw_fini;
-- 
2.34.1

Reply via email to