From: Quentin Schulz Date: Fri, 13 Feb 2026 13:22:54 +0000 (+0100) Subject: mesa: fix missing llvm dependency for i915 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=089400399eb88ead6a9e210ca6d4eef598fe34ec;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: fix missing llvm dependency for i915 i915 requires llvm at least explicitly since commit b8b38d38b1c1 ("meson: reinstate LLVM requirement for r300 and enforce it for i915 too") in mesa (available since 25.3.0). By default, Intel machines are built with gallium-llvm (see the various PACKAGECONFIG:append: in mesa.bb), so the dependencies would be met. It seems like Intel Arc discrete GPU may be supported by i915, so I'm assuming it could be possible to have a non-Intel machine have the need for the i915 driver. In any case, this is highlighting the actual dependencies so let's add gallium-llvm as a dependency for i915, as it should. Signed-off-by: Quentin Schulz Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 3788f0d3b2..0ee4dd926f 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -182,7 +182,7 @@ GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',crocus', '', GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'ethosu', ',ethosu', '', d)}" GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" -GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel', ',i915', '', d)}" +GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel gallium-llvm', ',i915', '', d)}" GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', ',iris', '', d)}" GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" GALLIUMDRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVMPIPE}', '', d)}"