summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/zte
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-06-29 23:12:53 +0200
committerGustavo Padovan <gustavo.padovan@collabora.com>2017-06-29 23:54:07 +0200
commitf1e8c67123cf171e2b0357e885e426328b241d7d (patch)
tree0b5b3e4c46496558bc2f20c2bf91a9f994d569a4 /drivers/gpu/drm/zte
parentdma-buf/sw-sync: Fix locking around sync_timeline lists (diff)
downloadlinux-f1e8c67123cf171e2b0357e885e426328b241d7d.tar.xz
linux-f1e8c67123cf171e2b0357e885e426328b241d7d.zip
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
Diffstat (limited to 'drivers/gpu/drm/zte')
0 files changed, 0 insertions, 0 deletions