From 963761aac38342582316a9fadd7f113e5c748d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 31 Mar 2018 21:27:03 +0200 Subject: [PATCH] mesa: enable dri3 explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- recipes-graphics/mesa/mesa_%.bbappend | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = ""