summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Alberto Lopez Perez <clopez@igalia.com>2016-08-11 18:06:06 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2016-09-21 17:14:59 +0100
commited84c2c8a26482ee2fc2b68eebcbfe4acc4ab08d (patch)
treee2b962de58851aa9af766a2f0be7af0356ba76ad
parent55388a51013762d8ff297db109da250c74dc4c60 (diff)
downloadmeta-raspberrypi-ed84c2c8a26482ee2fc2b68eebcbfe4acc4ab08d.tar.gz
vc4graphics: Support X11 with the VC4 driver.
* We need to use the X11 modesetting driver with VC4. * We need to build at least the mesa swrast DRI driver. (its already the default so don't overwrite it to empty) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/machine/include/rpi-base.inc2
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend2
2 files changed, 1 insertions, 3 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index aabc131..69774f4 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -12,7 +12,7 @@ XSERVER = " \
12 xf86-input-evdev \ 12 xf86-input-evdev \
13 xf86-input-mouse \ 13 xf86-input-mouse \
14 xf86-input-keyboard \ 14 xf86-input-keyboard \
15 xf86-video-fbdev \ 15 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
16 " 16 "
17 17
18# Really supported starting from linux-raspberrypi 3.18.y only 18# Really supported starting from linux-raspberrypi 3.18.y only
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index b182388..9c5df99 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,4 +1,2 @@
1PACKAGECONFIG_append_rpi = " gallium" 1PACKAGECONFIG_append_rpi = " gallium"
2GALLIUMDRIVERS_rpi = "vc4" 2GALLIUMDRIVERS_rpi = "vc4"
3DRIDRIVERS_rpi = ""
4