commit | 4dd2fbbfb532d0981b0ecd218c0597ac0047ca55 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Sep 11 10:02:43 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Sep 11 13:39:42 2019 +0100 |
tree | f37e913dbc6ad76ee6230a9f1fa5d7eb12e420ed | |
parent | 0606259e3b3a1220a0f04a92a1654a3f674f47ee [diff] |
drm/i915: Make i915_vma.flags atomic_t for mutex reduction In preparation for reducing struct_mutex stranglehold around the vm, make the vma.flags atomic so that we can acquire a pin on the vma atomically before deciding if we need to take the mutex. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190911090243.16786-1-chris@chris-wilson.co.uk