drm/amdkfd: Clear the VALU exception state in the trap handler
authorLaurent Morichetti <laurent.morichetti@amd.com>
Thu, 9 Nov 2023 00:16:18 +0000 (16:16 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2023 14:29:54 +0000 (09:29 -0500)
commitf4fac4163c2f99aada9cc60292f2ea377afe6c71
tree0a26af071456c7ff4ddf8969be89b4729703c2c9
parent8a1de314d1890793bbf9e77542574ceda007564e
drm/amdkfd: Clear the VALU exception state in the trap handler

The trap handler could be entered with pending VALU exceptions, so
clear the exception state before issuing vector instructions.

Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com>
Tested-by: Lancelot Six <lancelot.six@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