]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d1a15ffb17fed754368290b404fdd79acf9854c
treecdf2e33f126ca964d8880e08de11854e35a984f2
parentf75176b23e29fef0a834bf7c956b2a34b95d831b
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