summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@sancloud.co.uk>2019-04-22 22:47:33 +0000
committerPaul Barker <paul.barker@sancloud.co.uk>2019-05-14 19:32:50 +0000
commitf5eaa742a0396d520d72d3967ae66f89009ddb63 (patch)
treedf43675e3736b68f5e33d8e9cfa8ff1e52f96105 /meta-agl-bsp/meta-sancloud
parenta44016960651a0deac5a91313f345f24b1eb13a9 (diff)
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 <paul.barker@sancloud.co.uk>
Diffstat (limited to 'meta-agl-bsp/meta-sancloud')
-rw-r--r--meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend3
1 files changed, 3 insertions, 0 deletions
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 f2a27ba..e737b54 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
}