dma-buf/dma-fence: Extract __dma_fence_is_later()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Jun 2017 12:59:24 +0000 (13:59 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Thu, 29 Jun 2017 21:51:07 +0000 (18:51 -0300)
commit8111477663813caa1a4469cfe6afaae36cd04513
treec287a1d0472dfaecffa2261d9381ebd14a42be6e
parentfaa8b0b7534aabdc8095eb05310f04eff4024b36
dma-buf/dma-fence: Extract __dma_fence_is_later()

Often we have the task of comparing two seqno known to be on the same
context, so provide a common __dma_fence_is_later().

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/20170629125930.821-1-chris@chris-wilson.co.uk
include/linux/dma-fence.h