summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/libimxdmabuffer
Commit message (Collapse)AuthorAgeFilesLines
* libimxdmabuffer: Upgrade to version 1.1.2Carlos Rafael Giani2022-05-112-1/+32
| | | | | | | | | | | | | | | * waf: update to 2.0.23 * dma-heap: Add support for uncached dma-heap memory imx_dma_buffer_dma_heap_allocator_new_from_fd() is a new function that partially deprecates the dma_heap_fd argument of imx_dma_buffer_dma_heap_allocator_new(). * Add sync access functions to ensure cache coherency when allocating cached DMA memory; only done by dma-heap allocator at this time * Relax buffer mapping flags checks * Add API functions to retrieve dma-heap / ION FDs Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* libixmdmabuffer: Enable ION for all imx machinesCarlos Rafael Giani2022-04-141-4/+2
| | | | | | | With the imx6 and imx7 kernel configurations changed to have ION enabled, all imx machines that libimxdmabuffer supports are capable of using ION. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* libimxdmabuffer: Fix allocator packageconfigs for mx8qm and mx8qxp SoCsCarlos Rafael Giani2022-03-311-2/+10
| | | | | | | | | | The i.MX8 QuadMax and QuadXPlus SoCs can use the ION allocator. Also, if there is a DPU, then G2D will be emulated via the DPU. However, the emulation's allocation functions are broken, so disable the G2D allocator then. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-231-1/+1
| | | | | | | | | | | | | | | | Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> (cherry picked from commit bef00d6e4f25b4a9d3272e0d69db7545590ed204)
* libimxdmabuffer: Fix ptestCarlos Rafael Giani2020-04-242-4/+19
| | | | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* libimxdmabuffer: Upgrade to version 1.0.1Carlos Rafael Giani2020-04-201-2/+2
| | | | | | | | * Changes to migrate build system to Python 3: * waf: update to 2.0.12 * waf: use python3 Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* libimxdmabuffer: Add recipeCarlos Rafael Giani2019-08-061-0/+41
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>