summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2024-07-31 16:07:56 -0300
committerHiago De Franco <hiago.franco@toradex.com>2024-08-03 18:20:56 -0300
commit0f663b89eaff6e2f8cbeb44966725b6e58633de3 (patch)
tree215e7121266952ae2c89413a36f96e4b76286a9e
parentd1c6878cf25575f98ab12c5e685a0728afa4424a (diff)
downloadmeta-freescale-0f663b89eaff6e2f8cbeb44966725b6e58633de3.tar.gz
imx-opencl-converter: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Update imx-opencl-converter to version 0.4.0, syncing with meta-imx layer and the new NXP BSP 6.6.23-2.0.0. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch39
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb21
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb21
3 files changed, 21 insertions, 60 deletions
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch
deleted file mode 100644
index d84a6a639..000000000
--- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From e78af6d0c9cd1a655f6bc17173f6c411b8b34d2f Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Sat, 1 Jun 2024 11:07:13 +0000
4Subject: [PATCH] src/ocl.c: fix wrong integer type
5
6Fixes:
7| .../ocl.c:258:22: error: passing argument 6 of 'clGetProgramBuildInfo' from incompatible pointer type [-Wincompatible-pointer-types]
8 258 | 0, NULL, &log_size);
9 | ^~~~~~~~~
10 | |
11 | int *
12In file included from .../recipe-sysroot/usr/include/CL/cl_ext.h:27,
13 from .../ocl.c:21:
14/recipe-sysroot/usr/include/CL/cl.h:1348:45: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *'
15 1348 | size_t * param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
16 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
17
18Upstream-Status: Pending
19Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
20---
21 src/ocl.c | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24diff --git a/src/ocl.c b/src/ocl.c
25index f56d9cb..b2b0c52 100644
26--- a/src/ocl.c
27+++ b/src/ocl.c
28@@ -253,7 +253,7 @@ static OCL_RESULT CreateProgram(ImxOcl* ocl, const char* binName, const char* sr
29 cl_ret = clBuildProgram (program, 1, &ocl->device, "", NULL, NULL);
30 if (cl_ret < 0)
31 {
32- int log_size;
33+ size_t log_size;
34 cl_ret = clGetProgramBuildInfo(program, ocl->device, CL_PROGRAM_BUILD_LOG,
35 0, NULL, &log_size);
36
37--
382.42.0
39
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb
deleted file mode 100644
index f3e33e0d2..000000000
--- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1# Copyright 2023 NXP
2DESCRIPTION = "NXP Multimedia opencl converter lib"
3LICENSE = "Proprietary"
4SECTION = "multimedia"
5LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
6DEPENDS = "opencl-headers"
7
8SRC_URI = " \
9 ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \
10 file://0001-src-ocl.c-fix-wrong-integer-type.patch \
11"
12SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066"
13SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b"
14
15inherit fsl-eula-unpack autotools pkgconfig meson
16
17FILES:${PN} += "${datadir}/"
18
19COMPATIBLE_MACHINE = "(^$)"
20COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)"
21COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)"
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb
new file mode 100644
index 000000000..86bab3fce
--- /dev/null
+++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb
@@ -0,0 +1,21 @@
1# Copyright 2023 NXP
2DESCRIPTION = "NXP Multimedia opencl converter lib"
3LICENSE = "Proprietary"
4SECTION = "multimedia"
5LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a"
6DEPENDS = "virtual/opencl-icd"
7
8SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
9IMX_SRCREV_ABBREV = "efe25d6"
10
11SRC_URI[md5sum] = "daa99b8615ca08280833bb80bc52c9be"
12SRC_URI[sha256sum] = "1717f7fe64b260156b8d5b353add5edb7bc0217dd3847ac641601d4a59494f08"
13
14S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
15inherit fsl-eula-unpack autotools pkgconfig meson
16
17FILES:${PN} += "${datadir}/"
18
19COMPATIBLE_MACHINE = "(^$)"
20COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)"
21COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)"