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

2020-07-31 Thread Chris Wilson
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

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

2020-07-31 Thread Chris Wilson
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 pruning, so we must decouple such reference cycles (just in case they exist) before discarding the pool->obj. Signed-off-by: Chris Wilson ---