On Thu, 25 Apr 2019 at 10:20, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > > An old optimisation to reduce the number of atomics per batch sadly > relies on struct_mutex for coordination. In order to remove struct_mutex > from serialising object/context closing, always taking and releasing an > active reference on first use / last use greatly simplifies the locking. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx