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>
This commit is contained in:

committed by
Sumit Semwal

parent
9622c38f1c
commit
e1aaf311db
@@ -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
|
||||
|
Reference in New Issue
Block a user