summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb')
-rw-r--r--recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb32
1 files changed, 16 insertions, 16 deletions
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
index a94d6bf14..3296ebd94 100644
--- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
+++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ 1DESCRIPTION = 'Library for allocating and managing physically contiguous memory \
2 ("DMA memory" or "DMA buffers") on i.MX devices.' 2 ("DMA memory" or "DMA buffers") on i.MX devices.'
3HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" 3HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
@@ -11,7 +11,7 @@ SRCBRANCH ?= "master"
11SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" 11SRCREV = "d44deb80af881b82f394d44696433e6695022c8c"
12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15 15
16inherit pkgconfig waf use-imx-headers ptest 16inherit pkgconfig waf use-imx-headers ptest
17 17
@@ -47,33 +47,33 @@ CACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${CACHED_DMA_HEAP_DEVICE_NOD
47UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \ 47UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \
48 --dma-heap-uncached-memory" 48 --dma-heap-uncached-memory"
49 49
50PACKAGECONFIG ?= " " 50PACKAGECONFIG ?= ""
51PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" 51PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}"
52PACKAGECONFIG:append:imxipu = " ipu" 52PACKAGECONFIG:append:imxipu = " ipu"
53PACKAGECONFIG:append:imxpxp = " pxp" 53PACKAGECONFIG:append:imxpxp = " pxp"
54# All i.MX8 machines can use the dma-heap allocator. i.MX8m ones 54# All i.MX8 machines can use the dma-heap allocator. i.MX8m ones
55# can also use the DWL allocator, though dma-heap is preferred. 55# can also use the DWL allocator, though dma-heap is preferred.
56# Vendor kernels that are older than kernel 5.6 cannot use 56# Vendor kernels that are older than kernel 5.6 cannot use
57# dma-heap, however, and should use ion instead, since the 57# dma-heap, however, and should use ion instead, since the
58# former is not available pre-5.6. Out of the dma-heaps, we 58# former is not available pre-5.6. Out of the dma-heaps, we
59# pick the uncached one by default (see above). 59# pick the uncached one by default (see above).
60PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" 60PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached"
61PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" 61PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl"
62PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" 62PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl"
63PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" 63PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl"
64 64
65HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" 65HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2"
66 66
67PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro" 67PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro"
68PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no," 68PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no,"
69PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no," 69PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no,"
70PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d" 70PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d"
71PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no," 71PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no,"
72# --with-dma-heap-allocator=no is not added by these packageconfigs. 72# --with-dma-heap-allocator=no is not added by these packageconfigs.
73# Otherwise, it would always be added, since only one of these two 73# Otherwise, it would always be added, since only one of these two
74# dma-heap-* packageconfigs can be selected. Instead, that switch 74# dma-heap-* packageconfigs can be selected. Instead, that switch
75# is added to EXTRA_OECONF above. 75# is added to EXTRA_OECONF above.
76PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \ 76PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \
77 ,,,,dma-heap-uncached" 77 ,,,,dma-heap-uncached"
78PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ 78PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \
79 ,,,,dma-heap-cached" 79 ,,,,dma-heap-cached"