diff options
author | Christian König <christian.koenig@amd.com> | 2022-03-11 10:27:53 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-03-25 14:18:28 +0100 |
commit | 64a8f92fd783e750cdb81af75942dcd53bbf61bd (patch) | |
tree | cbddd8445aae570b7a0cca7fd66c4c9245fcdd34 /drivers/dma-buf/Makefile | |
parent | caaf2ae712b7cc3c7717898fe267dbf882a502ef (diff) |
dma-buf: add dma_fence_unwrap v2
Add a general purpose helper to deep dive into dma_fence_chain/dma_fence_array
structures and iterate over all the fences in them.
This is useful when we need to flatten out all fences in those structures.
v2: some selftests cleanup, improved function naming and documentation
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/20220311110244.1245-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/dma-buf/Makefile')
-rw-r--r-- | drivers/dma-buf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma-buf/Makefile b/drivers/dma-buf/Makefile index 511805dbeb75..4c9eb53ba3f8 100644 --- a/drivers/dma-buf/Makefile +++ b/drivers/dma-buf/Makefile @@ -12,6 +12,7 @@ dmabuf_selftests-y := \ selftest.o \ st-dma-fence.o \ st-dma-fence-chain.o \ + st-dma-fence-unwrap.o \ st-dma-resv.o obj-$(CONFIG_DMABUF_SELFTESTS) += dmabuf_selftests.o |