summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-10-01 15:42:10 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-10-01 15:42:10 -0500
commit42e5e3ec9b4f62c83b47e956349fa4d409e56df1 (patch)
tree98a086321a0ea5f18c016a9cae24d14d54ca7715 /recipes-graphics/imx-gpu-viv
parentb31a0c59157ea23b2f687f64d3e6cd1a888eb83b (diff)
downloadmeta-freescale-42e5e3ec9b4f62c83b47e956349fa4d409e56df1.tar.gz
imx-gpu-viv: Allow limited OpenVX support
OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. A recent change removed OpenVX packages except for this case. This was a mistake, since there is in fact limited OpenVX support provided on other i.MX 8 machines as needed for i.MX machine learning packages. Fixes: 09e2ce3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/imx-gpu-viv')
-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':