Chris Wilson f1e8c67123 dma-buf/sw-sync: Use an rbtree to sort fences in the timeline
Reduce the list iteration when incrementing the timeline by storing the
fences in increasing order.

v2: Prevent spinlock recursion on free during create
v3: Fixup rebase conflict inside comments that escaped the compiler.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170629211253.22766-1-chris@chris-wilson.co.uk
2017-06-29 18:54:07 -03:00
..
2017-06-14 16:48:03 -07:00
2017-05-04 19:15:35 -07:00
2017-06-16 17:38:23 +09:00
2017-06-01 14:49:47 -04:00
2017-06-18 08:51:35 +09:00
2017-05-05 19:33:07 -07:00
2017-06-27 08:28:30 +10:00
2017-06-11 11:29:15 -07:00
2017-06-20 15:41:56 -04:00
2017-04-17 00:42:22 +02:00
2017-06-19 14:24:41 -04:00
2017-04-20 09:54:24 +02:00
2017-05-09 10:01:15 -07:00
2017-06-16 17:30:44 +09:00
2017-05-04 19:15:35 -07:00
2017-06-23 12:25:37 -07:00
2017-06-18 08:36:30 +09:00
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00
2017-06-18 08:39:54 +09:00
2017-05-05 11:36:44 -07:00
2017-06-27 08:28:30 +10:00
2017-06-09 09:59:51 -07:00