[Intel-gfx] [PATCH] drm/i915/gem: Tighten checks and acquiring the mmap object

Matthew Auld matthew.william.auld at gmail.com
Thu Jan 30 15:48:08 UTC 2020


On Thu, 30 Jan 2020 at 14:40, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Make sure we hold the rcu lock as we acquire the rcu protected reference
> of the object when looking it up from the associated mmap vma.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/issues/1083
> Fixes: cc662126b413 ("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list