From: Paul Barker Date: Mon, 22 Apr 2019 22:47:33 +0000 (+0000) Subject: meta-agl-bsp: meta-sancloud: weston-ini-conf: Use 720p resolution where possible X-Git-Tag: halibut_7.99.1~12 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=f5eaa742a0396d520d72d3967ae66f89009ddb63;p=AGL%2Fmeta-agl.git meta-agl-bsp: meta-sancloud: weston-ini-conf: Use 720p resolution where possible The BBE is has fairly limited CPU and Graphics power so everything is sluggish at 1080p. Things work much better at 720p. However, if the 'hdmi-a-1-270.cfg' file has been removed (for example, when building the cluster demo) then don't try to modify it. Bug-AGL: SPEC-2409 Change-Id: I614bf6a7d65f5d51b6f9b1b776851562151fe2f6 Signed-off-by: Paul Barker --- diff --git a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend index f2a27ba3c..e737b540a 100644 --- a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend +++ b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -1,3 +1,6 @@ do_configure_append_bbe() { echo 'gbm-format=rgb565' >> ${WORKDIR}/core.cfg + if [[ -e "${WORKDIR}/hdmi-a-1-270.cfg" ]]; then + echo 'mode=1280x720' >> ${WORKDIR}/hdmi-a-1-270.cfg + fi }