drm/amdkfd: port cwsr trap handler from dkms branch
authorEric Huang <JinhuiEric.Huang@amd.com>
Mon, 16 May 2022 18:22:38 +0000 (14:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:32 +0000 (14:56 -0400)
commit5e613723f804658feb689be1b3cb88ceeed234d3
tree670cb8700b296a1a66c8625e074d052eb7fe91a0
parent6880ed280edf292c542aa87567547ffb9c222597
drm/amdkfd: port cwsr trap handler from dkms branch

Most of changes are for debugger feature, and it is
to simplify trap handler support for new asics in the
future.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm