]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
dma-buf: return index of the first signaled fence (v2)
authormonk.liu <monk.liu@amd.com>
Fri, 4 Nov 2016 20:16:09 +0000 (16:16 -0400)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 8 Nov 2016 18:42:00 +0000 (00:12 +0530)
commit7392b4bb702b05749539ff0936e94976248240c9
tree7aa0026cdcaf873f24434f67167e9be18a607e0c
parentc5ec903d8e8e9a9684ebb5ceef87f6a890d712b1
dma-buf: return index of the first signaled fence (v2)

Return the index of the first signaled fence.  This information
is useful in some APIs like Vulkan.

v2: rebase on drm-next (fence -> dma_fence)

Signed-off-by: monk.liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
 [sumits: fix warnings]
Link: http://patchwork.freedesktop.org/patch/msgid/1478290570-30982-1-git-send-email-alexander.deucher@amd.com
drivers/dma-buf/dma-fence.c
include/linux/dma-fence.h