aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-03-31 21:27:03 +0200
committerAndrei Gherzan <andrei@gherzan.com>2018-04-06 12:33:40 +0100
commit963761aac38342582316a9fadd7f113e5c748d65 (patch)
tree6c830a8be8974f51ef4ff819e3480ea83b0e1f90 /recipes-graphics
parent292e00099bae1e4a822a56969221e5fee6b5db8d (diff)
downloadmeta-raspberrypi-963761aac38342582316a9fadd7f113e5c748d65.tar.gz
meta-raspberrypi-963761aac38342582316a9fadd7f113e5c748d65.tar.bz2
meta-raspberrypi-963761aac38342582316a9fadd7f113e5c748d65.zip
mesa: enable dri3 explicitly
Currently oe-core enables dri3 only for x11 AND vulcan. Although patch enabling dri3 by default in oe-core was sent out, make sure here dri3 is enabled - whatever oe-core suggest in the future. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index e789022..52fe757 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,3 +1,7 @@
-PACKAGECONFIG_append_rpi = " gallium"
+# DRI3 note:
+# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
+# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
+# in case oe-core changes this default, we set dri3 explicitly.
+PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
GALLIUMDRIVERS_rpi = "vc4"
DRIDRIVERS_rpi = ""