[Intel-gfx] [PATCH 10/21] drm/i915: Make i915_vma.flags atomic_t for mutex reduction

Matthew Auld matthew.william.auld at gmail.com
Tue Sep 10 20:06:49 UTC 2019


On Mon, 2 Sep 2019 at 05:03, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> 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 at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list