]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: Add a reminder that i915_vma_move_to_active() requires struct_mutex
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Dec 2016 15:37:18 +0000 (15:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Dec 2016 16:18:48 +0000 (16:18 +0000)
commit81147b07f27600925fb7af1390686830abbc6034
tree7fefefc0e9d54aee158d6774a1c0be1399ea0773
parent966d5bf5eb90f2a8c158f6d971ad0a4f836aad9c
drm/i915: Add a reminder that i915_vma_move_to_active() requires struct_mutex

i915_vma_move_to_active() requires the struct_mutex for serialisation
with retirement, so mark it up with lockdep_assert_held().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161218153724.8439-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_execbuffer.c