diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-10-01 15:42:10 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-10-01 15:42:10 -0500 |
commit | 42e5e3ec9b4f62c83b47e956349fa4d409e56df1 (patch) | |
tree | 98a086321a0ea5f18c016a9cae24d14d54ca7715 | |
parent | b31a0c59157ea23b2f687f64d3e6cd1a888eb83b (diff) | |
download | meta-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>
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 11 |
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 = " \ | |||
50 | EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ | 50 | EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ |
51 | virtual/libgbm \ | 51 | virtual/libgbm \ |
52 | " | 52 | " |
53 | |||
53 | PROVIDES_OPENGLES3 = "" | 54 | PROVIDES_OPENGLES3 = "" |
54 | PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3" | 55 | PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3" |
55 | PROVIDES_OPENGLES3:mx8mm-nxp-bsp = "" | 56 | PROVIDES_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. | ||
56 | PROVIDES_OPENVX = "" | 61 | PROVIDES_OPENVX = "" |
57 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" | 62 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" |
58 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | 63 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" |
@@ -97,12 +102,14 @@ PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" | |||
97 | PACKAGES_OPENCL = "libopencl-imx libopencl-imx-dev libclc-imx libclc-imx-dev" | 102 | PACKAGES_OPENCL = "libopencl-imx libopencl-imx-dev libclc-imx libclc-imx-dev" |
98 | PACKAGES_OPENCL:mx7-nxp-bsp = "" | 103 | PACKAGES_OPENCL:mx7-nxp-bsp = "" |
99 | 104 | ||
100 | PACKAGES_OPENVX = "" | 105 | PACKAGES_OPENVX = \ |
101 | PACKAGES_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 | ||
103 | PACKAGES_VULKAN = "" | 109 | PACKAGES_VULKAN = "" |
104 | PACKAGES_VULKAN:aarch64 = "libvulkan-imx libvulkan-imx-dev" | 110 | PACKAGES_VULKAN:aarch64 = "libvulkan-imx libvulkan-imx-dev" |
105 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "" | 111 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "" |
112 | |||
106 | python __anonymous () { | 113 | python __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': |