Reviewed-by: Yong Zhao
From: amd-gfx on behalf of Cornwall,
Jay
Sent: Wednesday, September 25, 2019 6:06 PM
To: amd-gfx@lists.freedesktop.org
Cc: Cornwall, Jay
Subject: [PATCH] drm/amdkfd: Fix race in gfx10 context restore handler
Missing synchronization
Missing synchronization with VGPR restore leads to intermittent
VGPR trashing in the user shader.
Signed-off-by: Jay Cornwall
---
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 139 +++--
.../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm | 1 +
2 files changed, 71 insert