8#ifndef __LINUX_DMA_FENCE_UNWRAP_H
9#define __LINUX_DMA_FENCE_UNWRAP_H
47#define dma_fence_unwrap_for_each(fence, cursor, head) \
48 for (fence = dma_fence_unwrap_first(head, cursor); fence; \
49 fence = dma_fence_unwrap_next(cursor))
69#define dma_fence_unwrap_merge(...) \
71 struct dma_fence *__f[] = { __VA_ARGS__ }; \
72 struct dma_fence_unwrap __c[ARRAY_SIZE(__f)]; \
74 __dma_fence_unwrap_merge(ARRAY_SIZE(__f), __f, __c); \
struct dma_fence * __dma_fence_unwrap_merge(unsigned int num_fences, struct dma_fence **fences, struct dma_fence_unwrap *cursors)
int dma_fence_dedup_array(struct dma_fence **array, int num_fences)
struct dma_fence * dma_fence_unwrap_next(struct dma_fence_unwrap *cursor)
struct dma_fence * dma_fence_unwrap_first(struct dma_fence *head, struct dma_fence_unwrap *cursor)
struct drm_crtc struct drm_plane struct drm_plane * cursor
Definition drm_crtc.h:1240
int const struct list_head const struct list_head struct list_head * head
Definition list_sort.h:13
Definition dma-fence-unwrap.h:18
unsigned int index
Definition dma-fence-unwrap.h:30
struct dma_fence * array
Definition dma-fence-unwrap.h:26
struct dma_fence * chain
Definition dma-fence-unwrap.h:22
Definition dma-fence.h:70