From 922ed57043282cdf0c264d42f16362bd8d0890b2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 21 Aug 2021 13:08:09 -0700 Subject: weston: Re-order gbm destruction at DRM-backend tear down Fixes an annoying segfault seen on rpi4 when launching weston during boot especially using systemd service or sysvinit script, if weston is launched manually on VT, it works fine. This backport specifically addresses the issue described above. For more details see [1] [1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 74e0249af85782af436791d1339ce864536d2022) Signed-off-by: Anuj Mittal --- meta/recipes-graphics/wayland/weston_9.0.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-graphics/wayland/weston_9.0.0.bb') diff --git a/meta/recipes-graphics/wayland/weston_9.0.0.bb b/meta/recipes-graphics/wayland/weston_9.0.0.bb index bcbac06d58..ef12cb8c85 100644 --- a/meta/recipes-graphics/wayland/weston_9.0.0.bb +++ b/meta/recipes-graphics/wayland/weston_9.0.0.bb @@ -12,6 +12,7 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \ file://0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch \ file://0001-meson.build-fix-incorrect-header.patch \ + file://0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch \ " SRC_URI_append_libc-musl = " file://dont-use-plane-add-prop.patch " -- cgit 1.2.3-korg