From 95be080ab29bd6af97f9a0f7bf40653e977f16c9 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 14 Jan 2021 16:29:52 +0100 Subject: [PATCH] weston: apply g2d backend workarounds to both the ccimx6 and ccimx6qp These changes were originally applied to the ccimx6 to fix a trailing effect in the desktop, but we've recently discovered an HDMI hotplug issue on the ccimx6qp that is also solved when using the g2d backend. Apply the workarounds to both platforms. https://jira.digi.com/browse/DEL-7380 Signed-off-by: Gabriel Valcazar --- meta-digi-dey/recipes-graphics/wayland/weston-init.bbappend | 3 ++- meta-digi-dey/recipes-graphics/wayland/weston_%.bbappend | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-graphics/wayland/weston-init.bbappend b/meta-digi-dey/recipes-graphics/wayland/weston-init.bbappend index 74739dbf6..2b3e593bd 100644 --- a/meta-digi-dey/recipes-graphics/wayland/weston-init.bbappend +++ b/meta-digi-dey/recipes-graphics/wayland/weston-init.bbappend @@ -17,7 +17,8 @@ INI_UNCOMMENT_ASSIGNMENTS_append_mx8mp = " \ " # Digi: use g2d on ccimx6sbc to fix desktop window issue -INI_UNCOMMENT_ASSIGNMENTS_append_ccimx6sbc = " \ +# Also needed to workaround an HDMI hotplug issue on the ccimx6qpsbc +INI_UNCOMMENT_ASSIGNMENTS_append_ccimx6 = " \ use-g2d=1 \ " diff --git a/meta-digi-dey/recipes-graphics/wayland/weston_%.bbappend b/meta-digi-dey/recipes-graphics/wayland/weston_%.bbappend index ddc30ee6d..f70bfd5b1 100644 --- a/meta-digi-dey/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-digi-dey/recipes-graphics/wayland/weston_%.bbappend @@ -1,3 +1,3 @@ # Copyright (C) 2020 Digi International. -SRC_URI_append_ccimx6sbc = " file://0001-libweston-g2d-renderer-try-re-adjusting-fb-if-the-FB.patch" +SRC_URI_append_ccimx6 = " file://0001-libweston-g2d-renderer-try-re-adjusting-fb-if-the-FB.patch"