summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend')
-rw-r--r--meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend b/meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend
new file mode 100644
index 000000000..52fe757a0
--- /dev/null
+++ b/meta-raspberrypi/recipes-graphics/mesa/mesa_%.bbappend
@@ -0,0 +1,7 @@
+# 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 = ""
OpenPOWER on IntegriCloud