diff options
author | Christian König <christian.koenig@amd.com> | 2022-04-25 14:22:12 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-05-30 14:24:04 +0200 |
commit | 245a4a7b531cffb41233a716497c25b06835cf4b (patch) | |
tree | d9da42cead12ac1cfc5583fd14751d99c4b39140 /crypto/ofb.c | |
parent | dma-buf: return only unsignaled fences in dma_fence_unwrap_for_each v3 (diff) | |
download | linux-245a4a7b531cffb41233a716497c25b06835cf4b.tar.xz linux-245a4a7b531cffb41233a716497c25b06835cf4b.zip |
dma-buf: generalize dma_fence unwrap & merging v3
Introduce a dma_fence_unwrap_merge() macro which allows to unwrap fences
which potentially can be containers as well and then merge them back
together into a flat dma_fence_array.
v2: rename the function, add some more comments about how the wrapper is
used, move filtering of signaled fences into the unwrap iterator,
add complex selftest which covers more cases.
v3: fix signaled fence filtering once more
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220518135844.3338-5-christian.koenig@amd.com
Diffstat (limited to 'crypto/ofb.c')
0 files changed, 0 insertions, 0 deletions