drm/amdkfd: Swap trap temporary registers in gfx10 trap handler
authorJay Cornwall <jay.cornwall@amd.com>
Thu, 12 Sep 2019 19:03:41 +0000 (14:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 20:28:31 +0000 (15:28 -0500)
commit4b617e2b9e5473747ef925dd2e47239acb9925c2
tree2826a97e091af9b2456723ad20527553acaa35e8
parent2032324682c1ca563e33c56e51d9ae17a2b38105
drm/amdkfd: Swap trap temporary registers in gfx10 trap handler

ttmp[4:5] hold information useful to the debugger. Use ttmp[14:15]
instead, aligning implementation with gfx9 trap handler.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: shaoyun liu <Shaoyun.liu@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