summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-10-03 09:07:41 -0300
committerGitHub <noreply@github.com>2022-10-03 09:07:41 -0300
commit9a0bc6866169c14af4b9c9d02ed1e555cf088764 (patch)
tree8d00b11a9c489ea22a73d440940f783f6dd5411f
parent0f481c59735c48ef7f5f743ce457cbf9fb5c8316 (diff)
parentc54507547f370d6c7d8d24742f0912b1a8140b5f (diff)
downloadmeta-freescale-9a0bc6866169c14af4b9c9d02ed1e555cf088764.tar.gz
Merge pull request #1248 from Freescale/backport-1246-to-kirkstone
[Backport kirkstone] imx-gpu-viv: Allow limited OpenVX support
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc11
1 files changed, 9 insertions, 2 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 0702600c..fa174bfc 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -50,9 +50,14 @@ EXTRA_PROVIDES:append:imxgpu3d = " \
50EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ 50EXTRA_PROVIDES:append:mx8-nxp-bsp = " \
51 virtual/libgbm \ 51 virtual/libgbm \
52" 52"
53
53PROVIDES_OPENGLES3 = "" 54PROVIDES_OPENGLES3 = ""
54PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3" 55PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3"
55PROVIDES_OPENGLES3:mx8mm-nxp-bsp = "" 56PROVIDES_OPENGLES3:mx8mm-nxp-bsp = ""
57
58# Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus.
59# However, only limited support is provided on other i.MX 8 machines
60# as needed for i.MX machine learning packages.
56PROVIDES_OPENVX = "" 61PROVIDES_OPENVX = ""
57PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" 62PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx"
58PROVIDES_OPENVX:mx8mm-nxp-bsp = "" 63PROVIDES_OPENVX:mx8mm-nxp-bsp = ""
@@ -97,12 +102,14 @@ PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev"
97PACKAGES_OPENCL = "libopencl-imx libopencl-imx-dev libclc-imx libclc-imx-dev" 102PACKAGES_OPENCL = "libopencl-imx libopencl-imx-dev libclc-imx libclc-imx-dev"
98PACKAGES_OPENCL:mx7-nxp-bsp = "" 103PACKAGES_OPENCL:mx7-nxp-bsp = ""
99 104
100PACKAGES_OPENVX = "" 105PACKAGES_OPENVX = \
101PACKAGES_OPENVX:mx8qm-nxp-bsp = "libopenvx-imx libopenvx-imx-dev" 106 "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \
107 "libopenvx-imx libopenvx-imx-dev", "", d)}"
102 108
103PACKAGES_VULKAN = "" 109PACKAGES_VULKAN = ""
104PACKAGES_VULKAN:aarch64 = "libvulkan-imx libvulkan-imx-dev" 110PACKAGES_VULKAN:aarch64 = "libvulkan-imx libvulkan-imx-dev"
105PACKAGES_VULKAN:mx8mm-nxp-bsp = "" 111PACKAGES_VULKAN:mx8mm-nxp-bsp = ""
112
106python __anonymous () { 113python __anonymous () {
107 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0') 114 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0')
108 if has_vivante_kernel_driver_support != '1': 115 if has_vivante_kernel_driver_support != '1':