[Intel-gfx] [PATCH] drm/i915: Check that the vma hasn't been closed before we insert it

Matthew Auld matthew.william.auld at gmail.com
Fri Feb 21 16:15:57 UTC 2020


On Fri, 21 Feb 2020 at 12:19, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> As there is a delay before we pin a vma, there is an opportunity for
> another thread to have closed the vm and its vma (including us).
> Check as soon as we acquire the vm->mutex and know the vm/vma is stable.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/issues/1291
> 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