Re: [Intel-gfx] [PATCH] drm/i915: Clarify vma lifetime

2022-02-17 Thread Matthew Auld
On 10/02/2022 07:19, Thomas Hellström wrote: It's unclear what reference the initial vma kref refernce refers to. A vma can have multiple weak references, the object vma list, the vm's bound list and the GT's closed_list, and the initial vma reference can be put from lookups of all these lists.

[Intel-gfx] [PATCH] drm/i915: Clarify vma lifetime

2022-02-09 Thread Thomas Hellström
It's unclear what reference the initial vma kref refernce refers to. A vma can have multiple weak references, the object vma list, the vm's bound list and the GT's closed_list, and the initial vma reference can be put from lookups of all these lists. With the current implementation this means