aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorJay Cornwall <[email protected]>2019-07-23 00:21:13 +0000
committerAlex Deucher <[email protected]>2019-07-31 04:22:02 +0000
commit7c2eaf5cdb8797bae792fb3cd96ebc6c7f3c53e7 (patch)
tree346f2bff9a2677e273f8a2ea39b5e34e772f9b43 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdkfd: Use SQC when TCP would fail in gfx9 context save. (diff)
downloadkernel-7c2eaf5cdb8797bae792fb3cd96ebc6c7f3c53e7.tar.gz
kernel-7c2eaf5cdb8797bae792fb3cd96ebc6c7f3c53e7.zip
drm/amdkfd: Fix lost single step exceptions in gfx9 trap handler
If the trap is entered due to MODE.DEBUG_EN=1 and SAVECTX is raised concurrently the handler cannot identify the source of the exception. This causes the debugger to lose single step exception notification when a context save request arrives at the same time. When MODE.DEBUG_EN=1 and STATUS.HALT=0 (exception not already handled) jump to the second-level trap handler upon entering the trap. The second-level trap will set STATUS.HALT=1 and return to the shader. If SAVECTX was raised then control flow will return to the trap, which will then handle the context save request. Cc: Tony Tye <[email protected]> Cc: Laurent Morichetti <[email protected]> Cc: Qingchuan Shi <[email protected]> Signed-off-by: Jay Cornwall <[email protected]> Reviewed-by: Laurent Morichetti <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions