Skip to content

drm/xe/vm: Fix a lockdep splat

Thomas Hellström requested to merge thomash/kernel:lockdep_splat into xe

We shouldn't call neither xe_bo_put() nor prep_vma_destroyed() while resv locked. Fix this. This removes an optimization while keeping the important part of marking the vma destroyed under the notifier lock before removing the notifier, which stops the vma from getting re-added to the invalidated list while being destroyed.

This should fix issue #178 (closed).

Signed-off-by: Thomas Hellström thomas.hellstrom@linux.intel.com

Merge request reports