From 164e32093692d72a56c348f3e91a3a7b48152189 Mon Sep 17 00:00:00 2001 From: Jun Zhu Date: Mon, 19 Dec 2022 18:46:29 +0800 Subject: weston-init: Correct override of INI_UNCOMMENT_ASSIGNMENTS current implement only includes INI_UNCOMMENT_USE_G2D to INI_UNCOMMENT_ASSIGNMENTS on the platforms with VIV G2D hardware. Signed-off-by: Jun Zhu --- recipes-graphics/wayland/weston-init.bbappend | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'recipes-graphics/wayland/weston-init.bbappend') diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index ffc264562..478c7cd62 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -24,11 +24,12 @@ INI_UNCOMMENT_ASSIGNMENTS:append:mx8mq-nxp-bsp = " \ # FIXME: The 8QM and 8QXP SoCs have better performance without G2D so don't enable it # Ideally, this should be seamless and Vivante ought to handle it internally and take the fastest # rendering code. +INI_UNCOMMENT_USE_G2D ?= "" INI_UNCOMMENT_USE_G2D:imxgpu2d ?= "use-g2d=1" -INI_UNCOMMENT_USE_G2D:mx8qm-nxp-bsp = "" -INI_UNCOMMENT_USE_G2D:mx8qxp-nxp-bsp = "" -INI_UNCOMMENT_USE_G2D:mx8dx-nxp-bsp = "" -INI_UNCOMMENT_ASSIGNMENTS:append:imxgpu2d = " \ +INI_UNCOMMENT_USE_G2D:mx8qm-nxp-bsp ?= "" +INI_UNCOMMENT_USE_G2D:mx8qxp-nxp-bsp ?= "" +INI_UNCOMMENT_USE_G2D:mx8dx-nxp-bsp ?= "" +INI_UNCOMMENT_ASSIGNMENTS:append = " \ ${INI_UNCOMMENT_USE_G2D} \ " -- cgit v1.2.3-54-g00ecf