aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2021-03-23 15:50:52 +0000
committerDaniel Vetter <[email protected]>2021-03-24 16:59:37 +0000
commit5b0a78ec0b5738046ab170e67cc28491cbee3f3f (patch)
treeea4a8045daffb3301e2b55284d2fea24740bda86 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/i915: Keep userpointer bindings if seqcount is unchanged, v2. (diff)
downloadkernel-5b0a78ec0b5738046ab170e67cc28491cbee3f3f.tar.gz
kernel-5b0a78ec0b5738046ab170e67cc28491cbee3f3f.zip
drm/i915: Move gt_revoke() slightly
We get a lockdep splat when the reset mutex is held, because it can be taken from fence_wait. This conflicts with the mmu notifier we have, because we recurse between reset mutex and mmap lock -> mmu notifier. Remove this recursion by calling revoke_mmaps before taking the lock. The reset code still needs fixing, as taking mmap locks during reset is not allowed. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> [danvet: Add FIXME.] Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions