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>
Tue, 17 Sep 2019 19:43:02 +0000 (14:43 -0500)
commit8fde7784ecd35120a5ace851bcf384e90fb2b64b
treecdf2e33f126ca964d8880e08de11854e35a984f2
parent8b8031703bd75ebedfcae59d64f8c0c006300bcb
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