summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJay Cornwall <jay.cornwall@amd.com>2020-07-24 16:58:48 -0700
committerAlex Deucher <alexander.deucher@amd.com>2020-08-10 17:26:51 -0400
commitb60646a20c9f61e364c86cc88f50f547361cceb3 (patch)
treeccb5aa26b0f4606ebcaf9ea31ae0fbf88bb06ad3 /drivers/gpu/drm/amd/amdgpu
parentc342d7c579f2c9f4e84552d53881acd1cf15eb14 (diff)
drm/amdkfd: Fix spurious debug exception on gfx10
s_barrier triggers a debug exception when issued with PRIV=1, DEBUG_EN=1. This causes spurious notifications to rocm-gdb. Clear MODE before issuing s_barrier and restore MODE afterwards in the context restore handler. Signed-off-by: Jay Cornwall <jay.cornwall@amd.com> Tested-by: Laurent Morichetti <laurent.morichetti@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')
0 files changed, 0 insertions, 0 deletions