weston-ini-conf.bbappend: Set 720p for Raspberry Pi 89/16789/2
authorLeon Anavi <leon.anavi@konsulko.com>
Tue, 25 Sep 2018 17:51:28 +0000 (20:51 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sat, 29 Sep 2018 15:55:53 +0000 (15:55 +0000)
Reduce the screen resolution for Raspberry Pi from Full HD to
HD Ready (1280x720) to reduce the memory consumption and
improve the behaviour of the whole system. This change is
applied only for HDMI display on Raspberry Pi due to the
limited hardware resources.

Bug-AGL: SPEC-1745

Change-Id: Id2fb571b0822f8166086f5ad6a7fcf8ea25c933a
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf.bbappend
meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-270-720p.cfg [new file with mode: 0644]

index 33dfd6a..d652d6b 100644 (file)
@@ -1,3 +1,7 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += "file://dsi.cfg"
+
+# Reduce the screen resolution to HD Ready (720p)
+SRC_URI_remove = "file://hdmi-a-1-270.cfg"
+SRC_URI_append = "file://hdmi-a-1-270-720p.cfg"
diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-270-720p.cfg b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-270-720p.cfg
new file mode 100644 (file)
index 0000000..e1c9db1
--- /dev/null
@@ -0,0 +1,7 @@
+# A display is connected to HDMI-A-1 and needs to be rotated 270 degrees
+# to have a proper orientation of the homescreen.  For example the various sizes
+# of the GeChic display or the Dell display.
+[output]
+name=HDMI-A-1
+transform=270
+mode=1280x720