aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>2017-10-09 14:24:48 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-10-11 09:24:40 +0000
commitf970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c (patch)
tree6f32b6b94c8d28ac01d27859c180b24236499ccb
parent8967fdebd5b55c177972bb088997b58ead2cc283 (diff)
adding eGalax screen support for demo
Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend8
-rw-r--r--meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf4
-rw-r--r--meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc2
3 files changed, 14 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 000000000..fb3f1ac32
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,8 @@
+# Select default screen type and orientation
+# and only one default output
+
+# Note when such change is applied it will not be taken due to a Yocto cache error
+# Fix:
+# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate
+
+WESTONOUTPUT1[agl_screen] = "SCREEN_eGalax"
diff --git a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
index eb30a9a96..ec658ce7d 100644
--- a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
+++ b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
@@ -1,5 +1,9 @@
#Generate a weston.ini file:
+# WARNING Due to a bug in Yocto cache, changes in related bbappand are not detected
+# Work-around:
+# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate
+
To generate the weston.ini file:
'''
diff --git a/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
new file mode 100644
index 000000000..4d3649f13
--- /dev/null
+++ b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
@@ -0,0 +1,2 @@
+SCREEN_eGalax[name] ?= "HDMI-A-1"
+SCREEN_eGalax[transform] ?= "90"