diff options
| author | Maarten Lankhorst <[email protected]> | 2021-03-23 15:50:52 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-03-24 16:59:37 +0000 |
| commit | 5b0a78ec0b5738046ab170e67cc28491cbee3f3f (patch) | |
| tree | ea4a8045daffb3301e2b55284d2fea24740bda86 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm/i915: Keep userpointer bindings if seqcount is unchanged, v2. (diff) | |
| download | kernel-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
