From 8254b2369ae338a6cec5a3c1d83b66888459710d Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Tue, 31 Mar 2020 10:20:20 +0900 Subject: rcar-gen3: weston: Backport fix patch for Weston crashes issue This backports the fix from [1]: Without universal plane, the weston crashes with null pointer access in set_gbm_format function because that function called before output enable function. By changing timing to set color format for primary plane in this case, this issue fixes. [1]: https://cgit.freedesktop.org/wayland/weston/commit/?id=51048463dae4ace13776bb77675316007083a6ee Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda Change-Id: Ia09b3f5bc0bf41b22b2210e2eea56913b4264761 --- meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend') diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend b/meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend index 4fab566..c2f75af 100644 --- a/meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend @@ -1,6 +1,12 @@ require include/gles-control.inc require include/multimedia-control.inc +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_rcar-gen3 = " \ + file://0001-drm-change-timing-to-set-color-format-for-primary-pl.patch \ +" + PACKAGECONFIG_remove_virtclass-multilib-lib32 = "launch" DEPENDS_append_rcar-gen3 = " \ -- cgit 1.2.3-korg