summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2016-08-05 15:39:34 +0200
committerSumit Semwal <sumit.semwal@linaro.org>2016-08-11 12:03:23 +0200
commite1aaf311dbe82221910cc0e0809c988de210cc3c (patch)
tree942432e8bdf1eed9f9cdaca00711604f571c9d8f /drivers/dma-buf
parentdrm/dp_helper: Rate limit timeout errors from drm_dp_i2c_do_msg() (diff)
downloadlinux-e1aaf311dbe82221910cc0e0809c988de210cc3c.tar.xz
linux-e1aaf311dbe82221910cc0e0809c988de210cc3c.zip
dma-buf/fence-array: add fence_is_array()
Add helper to check if fence is array. v2: Comments from Chris Wilson - remove ternary if from ops comparison - add EXPORT_SYMBOL(fence_array_ops) Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r--drivers/dma-buf/fence-array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma-buf/fence-array.c b/drivers/dma-buf/fence-array.c
index a8731c853da6..ee500226197b 100644
--- a/drivers/dma-buf/fence-array.c
+++ b/drivers/dma-buf/fence-array.c
@@ -99,6 +99,7 @@ const struct fence_ops fence_array_ops = {
.wait = fence_default_wait,
.release = fence_array_release,
};
+EXPORT_SYMBOL(fence_array_ops);
/**
* fence_array_create - Create a custom fence array