summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorJay Cornwall <jay.cornwall@amd.com>2019-07-23 14:40:07 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-07-30 23:19:47 -0500
commit8c7a5d9e6f141aa48473f15ac271c75688404ba8 (patch)
tree49b43c919204ba2c8cc5fd5a73f8ed7cdaea6438 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parent5f4814deab509e4d0a52e4a0b016d49a75b2cf7c (diff)
drm/amdkfd: Use SQC when TCP would fail in gfx9 context save.
When a wavefront raises TRAPSTS.XNACK_ERROR with STATUS.ALLOW_REPLAY=0 subsequent memory instructions have undefined behavior. In practice SQC stores continue to work but TCP stores do not. Context save is permitted to fail after XNACK error because the wavefront will be halted and subsequently terminated. However the debugger has an interest in retrieving the wavefront VGPR/LDS state. Detect the out-of-spec case and use SQC stores during context save in place of TCP stores. Signed-off-by: Jay Cornwall <jay.cornwall@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions