Expand description
DMA Fence support.
Reference: https://docs.kernel.org/driver-api/dma-buf.html#c.dma_fence
header: include/linux/dma-fence.h
Structs§
- Driver
Fence - A synchronization primitive mainly for GPU drivers.
- Driver
Fence Allocation - A pre-prepared DMA fence, carrying the user’s data and the memory it and the
fence reside in. Only useful for creating a
DriverFence. Splitting allocation and full initialization is necessary because fences cannot be allocated dynamically in some circumstances (deadlock). - Driver
Fence Borrow - A borrow wrapper for
DriverFence. ImplementsDeref. - Fence
- The receiving counterpart of a
DriverFence. - Fence
Callback Registration - A callback registration on a fence.
- Fence
Context - A dma-fence context. A fence context takes care of associating related fences with each other, providing each with raising sequence numbers and a common identifier.
Enums§
- Callback
Error - Error type for fence callback registration.
Traits§
- Fence
Callback - Trait for callbacks that can be registered on fences.
- Fence
Context Ops - VTable for dma_fence backend_ops callbacks.