aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/libimxdmabuffer
AgeCommit message (Collapse)Author
2019-08-06libimxdmabuffer: Add recipeCarlos Rafael Giani
libimxdmabuffer provides an API for allocating and handling physically contiguous buffers ("DMA buffers") on imx6, imx7, imx8 machines with the imx-kernel. The underlying allocation can be backed by the PxP, IPU, ION, DWL, G2D APIs. The API is backend agnostic. The same structures and functions can be used with the underlying PxP and IPU allocators for example. Furthermore, the library defines a "default" allocator (which one is the "default" is determined by the library and by the build configuration). By using this API, libraries can use compatible types for exchanging DMA buffers in userspace, and can also use the same API and support mx6, mx7, and mx8 machines, without requiring platform specific code changes. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>