diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-05-30 10:56:38 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-05-30 10:56:38 -0700 |
commit | 0d70ef54d0de30e5bcdf6b2c8b0ca8f643b2f53e (patch) | |
tree | 5ea71699e76d9f83284d84418f64c9d13de99db8 | |
parent | 4b77020881dc8f885c41d9744a4eb994024018c4 (diff) | |
download | meta-freescale-0d70ef54d0de30e5bcdf6b2c8b0ca8f643b2f53e.tar.gz |
imx-gpu-viv: Limit cl_viv_vx_ext.h to 8QuadMax and 8M Plus
The OpenCL extensions for VX Intrinsics is limited.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-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 8eabb26e..94d70564 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 |