diff options
author | Jay Cornwall <[email protected]> | 2020-07-24 16:58:48 -0700 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-07-27 16:22:16 -0400 |
commit | ea368183ae900e376b66d3f23da22acde48e385a (patch) | |
tree | 90a631ce0cc9207a37094a574d919ab5d6e76f76 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 059ea10abdddfbfb3ec4c29c120344846745223b (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 <[email protected]>
Tested-by: Laurent Morichetti <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions