summaryrefslogtreecommitdiff
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.bbappend6
1 files changed, 6 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 0000000000..7000ead0f3
--- /dev/null
+++ b/meta-raspberrypi/recipes-graphics/mesa/mesa.bbappend
@@ -0,0 +1,6 @@
+# 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 vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'vulkan broadcom', '', d)}"
+DRIDRIVERS:class-target:rpi = ""