meta-agl-bsp: meta-sancloud: weston-ini-conf: Set correct gbm-format 17/21317/1
authorPaul Barker <paul.barker@sancloud.co.uk>
Mon, 22 Apr 2019 22:47:16 +0000 (22:47 +0000)
committerPaul Barker <paul.barker@sancloud.co.uk>
Tue, 14 May 2019 19:32:50 +0000 (19:32 +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. The change to powervr.ini is already applied in the
meta-sancloud layer and the change to qt_env.sh was found not to be
needed.

Bug-AGL: SPEC-2409

Change-Id: Iec91ab939b13bd4f936e64681d45931dafb8ee91
Signed-off-by: Paul Barker <paul.barker@sancloud.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
+}