Quoting Chris Wilson (2019-05-08 13:05:42)
Move the duplicated code within dma-fence.c into the header for wider reuse. In the process apply a small micro-optimisation to only prune the fence->cb_list once rather than use list_del on every entry.
Signed-off-by: Chris Wilson chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin tvrtko.ursulin@intel.com
Not yet r-b, just Tvrtko gave a nod of approval that this would be suitable discussion material. -Chris