[Intel-gfx] [PATCH] drm/i915/gt: Decouple obj<->fence reference cycles on freeing the GT pool

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 31 14:18:23 UTC 2020


Quoting Chris Wilson (2020-07-31 15:12:45)
> Make sure that the obj->base.resv does not hold a reference to a fence
> that itself has an active reference on the object. There is no automatic

The active reference is pruned. I was thinking of other reference cycles
that may exist, but I do not think apply to the users of the buffer
pool. There is still an advantage here in that the pruning of that
reference may be delayed, so a kick here could release the memory
faster.
-Chris


More information about the Intel-gfx mailing list