diff options
author | Chris Wilson | 2019-01-28 11:23:54 +0100 |
---|---|---|
committer | Chris Wilson | 2019-01-28 17:24:16 +0100 |
commit | 528cbd17ceff070747a312c6312346b585495157 (patch) | |
tree | 6125ac8cf3beed06aa5eb3faa905deab956e24f4 /drivers/gpu/drm/drm_rect.c | |
parent | drm/i915: Pull VM lists under the VM mutex. (diff) | |
download | kernel-qcow2-linux-528cbd17ceff070747a312c6312346b585495157.tar.gz kernel-qcow2-linux-528cbd17ceff070747a312c6312346b585495157.tar.xz kernel-qcow2-linux-528cbd17ceff070747a312c6312346b585495157.zip |
drm/i915: Move vma lookup to its own lock
Remove the struct_mutex requirement for looking up the vma for an
object.
v2: Highlight how the race for duplicate vma creation is resolved on
reacquiring the lock with a short comment.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190128102356.15037-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/drm_rect.c')
0 files changed, 0 insertions, 0 deletions