diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2022-10-03 08:59:25 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 08:59:25 -0300 |
| commit | 9ab387243a0d06d6305922fe2c3ffb79721ee58f (patch) | |
| tree | 98a086321a0ea5f18c016a9cae24d14d54ca7715 | |
| parent | 5ad357c20ad263b8b2fff401071fcbe5eb2cc75f (diff) | |
| parent | 42e5e3ec9b4f62c83b47e956349fa4d409e56df1 (diff) | |
| download | meta-freescale-9ab387243a0d06d6305922fe2c3ffb79721ee58f.tar.gz | |
Merge pull request #1246 from thochstein/openvx
imx-gpu-viv: Allow limited OpenVX support
| -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 0702600cd..fa174bfca 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': |
