meta-agl-bsp: meta-sancloud: weston-ini-conf: Set correct gbm-format 57/20157/2
authorPaul Barker <paul@betafive.co.uk>
Mon, 18 Feb 2019 11:52:59 +0000 (11:52 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 19 Feb 2019 12:39:35 +0000 (12:39 +0000)
The default gbm-format needs to be changed on the BeagleBone Enhanced
due to a hardware errata on the AM335x SoC.

For further details see the following section of the TI wiki:
http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display#AM3_Beagle_Bone_Black_Board_Configuration

The TI documentation recommends further changes to powervr.ini and
qt_env.sh, however it was found that only the gbm-format change in
weston.ini is needed.

Change-Id: I968384d0014fef2285d83902de044a5e97274d84
Signed-off-by: Paul Barker <paul@betafive.co.uk>
meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend [new file with mode: 0644]

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
new file mode 100644 (file)
index 0000000..f2a27ba
--- /dev/null
@@ -0,0 +1,3 @@
+do_configure_append_bbe() {
+    echo 'gbm-format=rgb565' >> ${WORKDIR}/core.cfg
+}