OpenCloudOS-Kernel/drivers/dma-buf
Christian König 7bf60c52e0 dma-buf: add new dma_fence_chain container v7
Lockless container implementation similar to a dma_fence_array, but with
only two elements per node and automatic garbage collection.

v2: properly document dma_fence_chain_for_each, add dma_fence_chain_find_seqno,
    drop prev reference during garbage collection if it's not a chain fence.
v3: use head and iterator for dma_fence_chain_for_each
v4: fix reference count in dma_fence_chain_enable_signaling
v5: fix iteration when walking each chain node
v6: add __rcu for member 'prev' of struct chain node
v7: fix rcu warnings from kernel robot

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/295778/?series=58813&rev=1
2019-04-01 12:05:02 +02:00
..
Kconfig udmabuf: add MEMFD_CREATE dependency 2018-09-12 08:21:30 +02:00
Makefile dma-buf: add new dma_fence_chain container v7 2019-04-01 12:05:02 +02:00
dma-buf.c dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro 2018-12-24 11:17:04 +01:00
dma-fence-array.c dma-fence: Make ->wait callback optional 2018-07-03 13:12:57 +02:00
dma-fence-chain.c dma-buf: add new dma_fence_chain container v7 2019-04-01 12:05:02 +02:00
dma-fence.c dma-buf: make fence sequence numbers 64 bit v2 2018-12-07 12:44:16 +01:00
reservation.c dma-buf: add some lockdep asserts to the reservation object implementation 2019-02-27 23:51:43 +01:00
seqno-fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sw_sync.c dma-buf: make fence sequence numbers 64 bit v2 2018-12-07 12:44:16 +01:00
sync_debug.c dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro 2018-12-24 11:17:04 +01:00
sync_debug.h dma-buf: Remove unneeded stubs around sync_debug interfaces 2018-05-07 15:58:07 +02:00
sync_file.c dma-buf: make fence sequence numbers 64 bit v2 2018-12-07 12:44:16 +01:00
sync_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udmabuf.c drivers/dma-buf/udmabuf.c: convert to use vm_fault_t 2019-01-04 13:13:46 -08:00