WebFeb 8, 2012 · ION and DMABUF share some common concepts. The dma_buf concept is similar to ion_buffer, while dma_buf_attachment serves a similar purpose as ion_handle. Both ION and DMABUF use anonymous file descriptors as the objects that can be passed around to provide reference-counted access to shared buffers. WebJun 11, 2024 · DMA-BUF exporters are normally responsible for handling the cache operations for buffers as the ownership of the buffer is passed around. They can do so …
3.6. Buffers — The Linux Kernel documentation
WebOct 10, 2024 · In order to better track where in the kernel the dma-buf code is used, put the symbols in the namespace DMA_BUF and modify all users of the symbols to properly import the namespace to not break the build at the same time. Now the output of modinfo shows the use of these symbols, making it easier to watch for users over time: $ modinfo drivers ... Web* struct dma_buf_ops - operations possible on struct dma_buf * @vmap: [optional] creates a virtual mapping for the buffer into kernel * address space. Same restrictions as for vmap and friends apply. * @vunmap: [optional] unmaps a vmap from the buffer */ struct dma_buf_ops { /** * @cache_sgt_mapping: * lihir island postcode
[PATCH 1/2] media: videobuf2: use dmabuf size for length
WebApr 3, 2012 · Interface: struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, struct device *dev) This API returns reference to an attachment structure, … WebMessage ID: [email protected] (mailing list archive)State: Superseded: Headers: show Web> - the patch that was setting the write-combine cache setting has been > dropped as well, as it was simply not useful. > - [01/12]: ... Implement new DMABUF based userspace API > iio: buffer-dmaengine: Support new DMABUF based userspace API > iio: core: Add support for cyclic buffers > iio: buffer-dmaengine: Add support for cyclic buffers lihir secondary school