summaryrefslogtreecommitdiff
path: root/include/linux/dma-fence-chain.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-04-08 02:13:33 +0300
committerDave Airlie <airlied@redhat.com>2022-04-08 02:13:38 +0300
commit995f74807329c97e0aa7449c7a8345fce978a2c4 (patch)
treef2f82bc2cd2c984647018fcbb59e1e2379064f1d /include/linux/dma-fence-chain.h
parentdc7d19d27d019d223e74f2f47ef47e778781cb52 (diff)
parent67bae5f28c895f8737a1974c3f31cf12b9170b14 (diff)
downloadlinux-995f74807329c97e0aa7449c7a8345fce978a2c4.tar.xz
Merge tag 'drm-misc-next-fixes-2022-04-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
drm-misc-next-fixes for v5.18-rc2: - fix warning about fence containers - fix logic error in new fence merge code - handle empty dma_fence_arrays gracefully - Try all possible cases for bridge/panel detection. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/3b8e6439-612e-f640-e380-51e834393e94@linux.intel.com
Diffstat (limited to 'include/linux/dma-fence-chain.h')
-rw-r--r--include/linux/dma-fence-chain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma-fence-chain.h b/include/linux/dma-fence-chain.h
index 10d51bcdf7b7..4bdf0b96da28 100644
--- a/include/linux/dma-fence-chain.h
+++ b/include/linux/dma-fence-chain.h
@@ -112,6 +112,8 @@ static inline void dma_fence_chain_free(struct dma_fence_chain *chain)
*
* Iterate over all fences in the chain. We keep a reference to the current
* fence while inside the loop which must be dropped when breaking out.
+ *
+ * For a deep dive iterator see dma_fence_unwrap_for_each().
*/
#define dma_fence_chain_for_each(iter, head) \
for (iter = dma_fence_get(head); iter; \