On Wed, 2017-12-06 at 12:49 +0000, Chris Wilson wrote: > Originally we translated from the object to the vma by walking > obj->vma_list to find the matching vm (for user lookups). Now we process > user lookups using the rbtree, and we only use obj->vma_list itself for > maintaining state (e.g. ensuring that all vma are flushed or rebound). > As such maintenance needs to go on beyond the user's awareness of the > vma, defer removal of the vma from the obj->vma_list from i915_vma_close() > to i915_vma_destroy() > > Signed-off-by: Chris Wilson <[email protected]> > Cc: Joonas Lahtinen <[email protected]> > Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
