summaryrefslogtreecommitdiffstats
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
parent292e00099bae1e4a822a56969221e5fee6b5db8d (diff)
downloadmeta-raspberrypi-963761aac38342582316a9fadd7f113e5c748d65.tar.gz
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>
-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 @@
1PACKAGECONFIG_append_rpi = " gallium" 1# DRI3 note:
2# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
3# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
4# in case oe-core changes this default, we set dri3 explicitly.
5PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
2GALLIUMDRIVERS_rpi = "vc4" 6GALLIUMDRIVERS_rpi = "vc4"
3DRIDRIVERS_rpi = "" 7DRIDRIVERS_rpi = ""