aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-01-24 14:03:24 +0100
committerChristian König <[email protected]>2022-03-25 14:18:23 +0100
commitcaaf2ae712b7cc3c7717898fe267dbf882a502ef (patch)
tree3e68b66e021ef93c8c4fe132915ed5166e23f1b8 /lib/mpi/mpiutil.c
parent7344bad7fb6daa4877a1c064b52c7d5f9182c41b (diff)
dma-buf: Add dma_fence_array_for_each (v2)
Add a helper to iterate over all fences in a dma_fence_array object. v2 (Jason Ekstrand) - Return NULL from dma_fence_array_first if head == NULL. This matches the iterator behavior of dma_fence_chain_for_each in that it iterates zero times if head == NULL. - Return NULL from dma_fence_array_next if index > array->num_fences. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions