[Intel-gfx] [PATCH 2/2] drm/i915/gem: Avoid parking the vma as we unbind

Matthew Auld matthew.william.auld at gmail.com
Tue Dec 3 13:29:28 UTC 2019


On Tue, 3 Dec 2019 at 10:13, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> In order to avoid keeping a reference on the i915_vma (which is long
> overdue!) we have to coordinate all the possible lifetimes and only use
> the vma while we know it is alive. In this episode, we are reminded that
> while idle, the closed vma are destroyed. So if the GT idles while we are
> working with the vma, the vma itself becomes invalid.
>
> First class i915_vma here we come, but in the meantime keep piling on
> the straw.
>
> 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