summaryrefslogtreecommitdiff
path: root/include/linux/fence-array.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-06-01 15:10:04 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-02 09:28:04 +0200
commitf71045689656e307166f6d625fa13d8b75fb0523 (patch)
tree5a5cdce5a8628c0234b8a5af2cc012033f631423 /include/linux/fence-array.h
parentb3dfbdf261e076a997f812323edfdba84ba80256 (diff)
dma-buf/fence: add signal_on_any to the fence array v2
If @signal_on_any is true the fence array signals if any fence in the array signals, otherwise it signals when all fences in the array signal. v2: fix signaled test and add comment suggested by Chris Wilson. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1464786612-5010-4-git-send-email-deathsimple@vodafone.de
Diffstat (limited to 'include/linux/fence-array.h')
-rw-r--r--include/linux/fence-array.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fence-array.h b/include/linux/fence-array.h
index 593ab983129e..86baaa45567c 100644
--- a/include/linux/fence-array.h
+++ b/include/linux/fence-array.h
@@ -67,6 +67,7 @@ static inline struct fence_array *to_fence_array(struct fence *fence)
}
struct fence_array *fence_array_create(int num_fences, struct fence **fences,
- u64 context, unsigned seqno);
+ u64 context, unsigned seqno,
+ bool signal_on_any);
#endif /* __LINUX_FENCE_ARRAY_H */