summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJay Cornwall <Jay.Cornwall@amd.com>2018-11-14 22:23:25 -0600
committerAlex Deucher <alexander.deucher@amd.com>2019-05-24 12:21:01 -0500
commit2db2f259594ddf3d9d0053c2aa265e6ae48ee6db (patch)
treea4d7883d0749324e3e56c5aad52147db6be17e7e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentf756e6319ca07e369494a921b9935eb8625cc40b (diff)
drm/amdkfd: Fix gfx8 MEM_VIOL exception handler
When MEM_VIOL is asserted the context save handler rewinds the program counter. This is incorrect for any source of the exception. MEM_VIOL may be raised in normal operation by out-of-bounds access to LDS or GDS and does not require special handling. Remove PC adjustment when MEM_VIOL has been raised. Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions