Skip to content
Commit a594525c authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

drm/i915: Allow dead vm to unbind vma's without lock.



i915_gem_vm_close may take the lock, and we currently have no better way
of handling this. At least for now, allow a path in which holding vm->mutex
is sufficient. This is the case, because the object destroy path will
forcefully take vm->mutex now.

Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220128085739.1464568-1-maarten.lankhorst@linux.intel.com
Reviewed-by: default avatarThomas Hellstrom <thomas.hellstrom@linux.intel.com>
parent 7a05c5a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment