summaryrefslogtreecommitdiff
path: root/include/linux/dma-fence.h
diff options
context:
space:
mode:
authormonk.liu <monk.liu@amd.com>2016-11-04 23:16:09 +0300
committerSumit Semwal <sumit.semwal@linaro.org>2016-11-08 21:42:00 +0300
commit7392b4bb702b05749539ff0936e94976248240c9 (patch)
tree7aa0026cdcaf873f24434f67167e9be18a607e0c /include/linux/dma-fence.h
parentc5ec903d8e8e9a9684ebb5ceef87f6a890d712b1 (diff)
downloadlinux-7392b4bb702b05749539ff0936e94976248240c9.tar.xz
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
Diffstat (limited to 'include/linux/dma-fence.h')
-rw-r--r--include/linux/dma-fence.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
index ba60c043a5d3..fcf4b1971eba 100644
--- a/include/linux/dma-fence.h
+++ b/include/linux/dma-fence.h
@@ -382,7 +382,8 @@ signed long dma_fence_wait_timeout(struct dma_fence *,
bool intr, signed long timeout);
signed long dma_fence_wait_any_timeout(struct dma_fence **fences,
uint32_t count,
- bool intr, signed long timeout);
+ bool intr, signed long timeout,
+ uint32_t *idx);
/**
* dma_fence_wait - sleep until the fence gets signaled