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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Dec 2019 at 10:13, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux