diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2023-05-30 15:40:01 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 15:40:01 -0300 |
| commit | a846b664842f5903248a4269b6b82f8d0fcbbe7b (patch) | |
| tree | 5ea71699e76d9f83284d84418f64c9d13de99db8 | |
| parent | 4b77020881dc8f885c41d9744a4eb994024018c4 (diff) | |
| parent | 0d70ef54d0de30e5bcdf6b2c8b0ca8f643b2f53e (diff) | |
| download | meta-freescale-a846b664842f5903248a4269b6b82f8d0fcbbe7b.tar.gz | |
Merge pull request #1552 from thochstein/imx-gpu-viv
imx-gpu-viv: Limit cl_viv_vx_ext.h to 8QuadMax and 8M Plus
| -rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 6 |
1 files changed, 5 insertions, 1 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 8eabb26ea..94d70564b 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -188,6 +188,10 @@ IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | |||
| 188 | 188 | ||
| 189 | LIBVULKAN_API_VERSION = "1.2.182" | 189 | LIBVULKAN_API_VERSION = "1.2.182" |
| 190 | 190 | ||
| 191 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION = "false" | ||
| 192 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8qm-nxp-bsp = "true" | ||
| 193 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8mp-nxp-bsp = "true" | ||
| 194 | |||
| 191 | do_install () { | 195 | do_install () { |
| 192 | install -d ${D}${libdir} | 196 | install -d ${D}${libdir} |
| 193 | install -d ${D}${includedir} | 197 | install -d ${D}${includedir} |
| @@ -258,7 +262,7 @@ do_install () { | |||
| 258 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | 262 | install -d ${D}${sysconfdir}/OpenCL/vendors/ |
| 259 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | 263 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd |
| 260 | 264 | ||
| 261 | if [ -z "${PACKAGES_OPENVX}" ]; then | 265 | if ! ${SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION}; then |
| 262 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h | 266 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h |
| 263 | fi | 267 | fi |
| 264 | fi | 268 | fi |
