[Intel-gfx] [PATCH] drm/i915/gem: Try to flush pending unbind events
Matthew Auld
matthew.william.auld at gmail.com
Wed Dec 4 15:39:46 UTC 2019
On Wed, 4 Dec 2019 at 12:36, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> If we cannot handle a vma within the unbind loop, try to flush the
> pending events (i915_vma_parked, i915_vm_release) and try again. This
> avoids a round trip to userspace that is not guaranteed to make forward
> progress, as the events we wait upon require being idle.
>
> References: cb6c3d45f948 ("drm/i915/gem: Avoid parking the vma as we unbind")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 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