]> code.ossystems Code Review - meta-freescale.git/commitdiff
libdrm: update to 2.4.102.imx
authorMax Krummenacher <max.krummenacher@toradex.com>
Thu, 28 Jan 2021 11:33:24 +0000 (12:33 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 1 Feb 2021 14:24:43 +0000 (11:24 -0300)
NXP release imx_5.4.70_2.3.0.

Drop the explicit PACKAGE_ARCH setting. This is done by
fsl-dynamic-packagearch.bbclass.

The musl-ioctl.patch has been upstreamed.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
recipes-graphics/drm/libdrm/musl-ioctl.patch [deleted file]
recipes-graphics/drm/libdrm_2.4.102.imx.bb [moved from recipes-graphics/drm/libdrm_2.4.99.imx.bb with 96% similarity]

diff --git a/recipes-graphics/drm/libdrm/musl-ioctl.patch b/recipes-graphics/drm/libdrm/musl-ioctl.patch
deleted file mode 100644 (file)
index e3d6c5b..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Upstream-Status: Submitted
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-From 46c0fd6c827a8cb4d04e067bf04fab579ac4712e Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@intel.com>
-Date: Mon, 18 Jun 2018 15:07:03 +0100
-Subject: [PATCH] tests/nouveau/threaded: adapt ioctl signature
-
-POSIX says ioctl() has the signature (int, int, ...) but glibc has decided to
-use (int, unsigned long int, ...) instead.
-
-Use a #ifdef to adapt the replacement function as appropriate.
----
- tests/nouveau/threaded.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/tests/nouveau/threaded.c b/tests/nouveau/threaded.c
-index 3669bcd3..e1c27c01 100644
---- a/tests/nouveau/threaded.c
-+++ b/tests/nouveau/threaded.c
-@@ -36,7 +36,11 @@ static int failed;
- static int import_fd;
-+#ifdef __GLIBC__
- int ioctl(int fd, unsigned long request, ...)
-+#else
-+int ioctl(int fd, int request, ...)
-+#endif
- {
-       va_list va;
-       int ret;
--- 
-2.11.0
-
similarity index 96%
rename from recipes-graphics/drm/libdrm_2.4.99.imx.bb
rename to recipes-graphics/drm/libdrm_2.4.102.imx.bb
index dc2aa8a90cd7e7d7ab2406012e8e8fadf45c0a98..b8c385540156f52c4dfe0a189b288fee00681b11 100644 (file)
@@ -11,14 +11,14 @@ PROVIDES = "drm"
 DEPENDS = "libpthread-stubs"
 
 IMX_LIBDRM_SRC ?= "git://source.codeaurora.org/external/imx/libdrm-imx.git;protocol=https;nobranch=1"
-IMX_LIBDRM_BRANCH ?= "libdrm-imx-2.4.99"
+IMX_LIBDRM_BRANCH ?= "libdrm-imx-2.4.102"
 SRC_URI = "${IMX_LIBDRM_SRC};branch=${IMX_LIBDRM_BRANCH} \
-           file://musl-ioctl.patch \
            file://0001-meson-add-libdrm-vivante-to-the-meson-meta-data.patch "
-SRCREV = "f421c9c8c4b8fe48d9e6ef43910e98569c94a4b2"
+SRCREV = "f525ae649cd6e81e5d4e459799b0f7a120c4e174"
 S = "${WORKDIR}/git"
 
 DEFAULT_PREFERENCE = "-1"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
 
 inherit meson pkgconfig manpages