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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user