drm/amdkfd: update GFX11 CWSR trap handler
authorJay Cornwall <jay.cornwall@amd.com>
Fri, 14 Oct 2022 02:41:13 +0000 (21:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2022 20:05:52 +0000 (16:05 -0400)
commit403cea4019e206130b5a90f6d34383005d17b54a
treeecdec68b851e94a8cfc620b02a09d10293c01106
parent545094d993f4639482018becda5f2a47d126f0ab
drm/amdkfd: update GFX11 CWSR trap handler

With corresponding FW change fixes issue where triggering CWSR on a
workgroup with waves in s_barrier wouldn't lead to a back-off and
therefore cause a hang.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Tested-by: Graham Sider <Graham.Sider@amd.com>
Acked-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Graham Sider <Graham.Sider@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm