summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc26
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch64.bb6
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch32.bb (renamed from recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch32.bb)5
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch64.bb6
4 files changed, 28 insertions, 15 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 43d86ef2..cf7b1fa2 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -6,7 +6,7 @@
6DESCRIPTION = "GPU driver and apps for i.MX" 6DESCRIPTION = "GPU driver and apps for i.MX"
7SECTION = "libs" 7SECTION = "libs"
8LICENSE = "Proprietary" 8LICENSE = "Proprietary"
9LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28" 9LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3"
10 10
11DEPENDS += " \ 11DEPENDS += " \
12 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 12 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
@@ -33,8 +33,6 @@ EXTRA_PROVIDES_append_imxgpu3d = " \
33" 33"
34EXTRA_PROVIDES_append_mx8 = " \ 34EXTRA_PROVIDES_append_mx8 = " \
35 virtual/libgbm \ 35 virtual/libgbm \
36"
37EXTRA_PROVIDES_append_mx8qm = " \
38 virtual/libopenvx \ 36 virtual/libopenvx \
39" 37"
40PROVIDES += " \ 38PROVIDES += " \
@@ -81,6 +79,7 @@ PACKAGES =+ "libclc-imx libclc-imx-dev \
81 imx-gpu-viv-demos \ 79 imx-gpu-viv-demos \
82 libvulkan-imx libvulkan-imx-dev \ 80 libvulkan-imx libvulkan-imx-dev \
83 libopenvx-imx libopenvx-imx-dev \ 81 libopenvx-imx libopenvx-imx-dev \
82 libnn-imx \
84" 83"
85python __anonymous () { 84python __anonymous () {
86 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0') 85 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0')
@@ -94,6 +93,7 @@ USE_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
94# Inhibit warnings about files being stripped. 93# Inhibit warnings about files being stripped.
95INHIBIT_PACKAGE_STRIP = "1" 94INHIBIT_PACKAGE_STRIP = "1"
96INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 95INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
96INSANE_SKIP_${BPN} += "already-stripped"
97 97
98# FIXME: The provided binary doesn't provide soname. If in future BSP 98# FIXME: The provided binary doesn't provide soname. If in future BSP
99# release the libraries are fixed, we can drop this hack. 99# release the libraries are fixed, we can drop this hack.
@@ -206,6 +206,10 @@ do_install () {
206 install -d ${D}${sysconfdir}/OpenCL/vendors/ 206 install -d ${D}${sysconfdir}/OpenCL/vendors/
207 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd 207 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd
208 208
209 if [ "${USE_WL}" = "yes" -o "${USE_X11}" = "yes" ]; then
210 cp ${S}/gpu-core/usr/lib/libGL-${backend}.so ${D}${libdir}/libGL.so.1.2
211 fi
212
209 # We'll only have one backend here so we rename it to generic name 213 # We'll only have one backend here so we rename it to generic name
210 # and avoid rework in other packages, when possible 214 # and avoid rework in other packages, when possible
211 mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 215 mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0
@@ -302,15 +306,22 @@ INSANE_SKIP_libgal-imx += "build-deps"
302 306
303FILES_libvsc-imx = "${libdir}/libVSC${SOLIBS}" 307FILES_libvsc-imx = "${libdir}/libVSC${SOLIBS}"
304 308
305FILES_libgbm-imx_mx8 = "${libdir}/libgbm${SOLIBS} ${libdir}/gbm_viv${SOLIBS}" 309FILES_libgbm-imx_mx8 = "${libdir}/libgbm*${SOLIBS} ${libdir}/gbm_viv${SOLIBS}"
306FILES_libgbm-imx-dev_mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h ${libdir}/libgbm${SOLIBSDEV}" 310FILES_libgbm-imx-dev_mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h ${libdir}/libgbm${SOLIBSDEV}"
307RDEPENDS_libgbm-imx_append_mx8 = " libdrm" 311RDEPENDS_libgbm-imx_append_mx8 = " libdrm"
308 312
309FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${SOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}" 313FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${SOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}"
310FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" 314FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}"
311 315
312FILES_libopenvx-imx = "${libdir}/libOpenVX${SOLIBS} ${libdir}/libOpenVXC${SOLIBS} ${libdir}/libOpenVXU${SOLIBS}" 316FILES_libopenvx-imx = " \
313FILES_libopenvx-imx-dev = "${includedir}/VX ${libdir}/libopenVX${SOLIBSDEV}" 317 ${libdir}/libOpenVX*${SOLIBS} \
318 ${libdir}/libOpenVXC${SOLIBS} \
319 ${libdir}/libOpenVXU${SOLIBS} \
320 ${libdir}/libOvx*${SOLIBS} \
321 ${libdir}/libovx*${SOLIBS} \
322 "
323FILES_libopenvx-imx-dev = "${includedir}/VX ${libdir}/libopenVX${SOLIBSDEV} "
324RDEPENDS_libopenvx-imx = "libnn-imx"
314 325
315FILES_libgl-imx = "${libdir}/libGL${REALSOLIBS}" 326FILES_libgl-imx = "${libdir}/libGL${REALSOLIBS}"
316FILES_libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL" 327FILES_libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL"
@@ -368,4 +379,7 @@ FILES_imx-gpu-viv-tools = "${bindir}/gmem_info"
368FILES_imx-gpu-viv-demos = "/opt" 379FILES_imx-gpu-viv-demos = "/opt"
369INSANE_SKIP_imx-gpu-viv-demos += "rpaths dev-deps" 380INSANE_SKIP_imx-gpu-viv-demos += "rpaths dev-deps"
370 381
382FILES_libnn-imx = "${libdir}/libNN*${SOLIBS} ${libdir}/libnn*${SOLIBS} ${libdir}/libneuralnetworks${SOLIBS}"
383FILES_libnn-imx-dev = "${includedir}/NNRT"
384
371# COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)" 385# COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch64.bb
deleted file mode 100644
index 51212093..00000000
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch64.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require imx-gpu-viv-6.inc
2
3SRC_URI[md5sum] = "a937571f6ecf85bdff1dfb3b6c834ed0"
4SRC_URI[sha256sum] = "1eb4ebe2fa11d8fb7beb8fc7046bb57093fd416d0a401608d78cd48b65624fcd"
5
6COMPATIBLE_MACHINE = "(mx8)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch32.bb
index 4876f7cb..402205ba 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p4.0-aarch32.bb
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch32.bb
@@ -3,9 +3,8 @@
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5require recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc 5require recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
6SRC_URI[md5sum] = "83c40f63358dd3bd9bbc1cd7521bf8fe"
7SRC_URI[sha256sum] = "5abfc3b24c1f9d02970064898fb30da705b67bc7e967dbfbf0525c1cc60f2491"
8 6
9PACKAGE_FP_TYPE = "hardfp" 7SRC_URI[md5sum] = "10ebab961b21b1d08b8a17ee9ae42493"
8SRC_URI[sha256sum] = "b5c94b56a9f7c84aa084603a6ca21b5f3941b400e4f6ee8558b58c9b9f1aab36"
10 9
11COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx7ulp)" 10COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx7ulp)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch64.bb
new file mode 100644
index 00000000..6c265282
--- /dev/null
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.0.p1.0-aarch64.bb
@@ -0,0 +1,6 @@
1require imx-gpu-viv-6.inc
2
3SRC_URI[md5sum] = "7c2f504897e6b4495433546ab7d27912"
4SRC_URI[sha256sum] = "45852a5c3c61a9215a2ffb7387a6e1cce7ddac6f12513fc77459ad7e1f1b3a27"
5
6COMPATIBLE_MACHINE = "(mx8)"