[PATCH 1/5] drm/i915: stop pruning reservation object after wait

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 5 15:58:56 UTC 2019


Quoting Christian König (2019-08-05 16:45:50)
> The reservation object should be capable of handling its internal memory
> management itself. And since we search for a free slot to add the fence
> from the beginning this is actually a waste of time and only minimal helpful.

"From the beginning?" Attempting to prune signaled fences on insertion is
quite recent.

However, that doesn't help the cases where reservation_object keeps on
holding a reference to the fences for idle objects. It's an absolute
nightmare of a reference trap.
-Chris


More information about the dri-devel mailing list