summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: upgrade 24.0.3 -> 24.0.5Wang Mingyu10 days3-1/+1
| | | | | | | | | | | Changelog: https://docs.mesa3d.org/relnotes/24.0.5.html (From OE-Core rev: 5933d099c339596f62e1237d4e738dbe9f386b10) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 24.0.2 -> 24.0.3Wang Mingyu2024-04-164-9/+6
| | | | | | | | | | | 0001-Revert-meson-do-not-pull-in-clc-for-clover.patch refreshed for 24.0.3 (From OE-Core rev: 43240c8b2c5507fe6147ba04ec98528602c694e1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Drop LLVM-17 patchKhem Raj2024-03-302-41/+0
| | | | | | | | | This patch is no longer needed with llvm/clang 18+ (From OE-Core rev: 22174e5b64cc46e3e5b9f45d0b7796e92f20a48c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable imagination powervr supportMarcel Ziswiler2024-03-201-1/+5
| | | | | | | | | Allows mesa to be build with Imagination PowerVR support. (From OE-Core rev: d52ba5f350dd1b468d089ed0bba2e17e6d89fb7d) Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix opencl-spirv buildMarkus Volk2024-03-182-0/+57
| | | | | | | | | | | | | | | | https://gitlab.freedesktop.org/mesa/mesa/-/commit/815a6647eb1383e9dc704ffcc266d85f3b13338a adds a regression and breaks opencl-spirv build. The next step in mesa will probably be to completely remove nir in favour of rusticl. https://gitlab.freedesktop.org/mesa/mesa/-/issues/10674 Revert this commit to avoid that the lts version cannot use spirv because rusticl is not yet and opencl-spirv is no longer supported. (From OE-Core rev: 4335436d6dcd6059be784b812f1b1ce4090770a9) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 24.0.1 -> 24.0.2Alexander Kanavin2024-03-076-10/+7
| | | | | | | (From OE-Core rev: 7d7ed81a77a5ea852451951f0a302d18c225c725) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa,mesa-gl: Fix build when dri3 is not enabledKhem Raj2024-03-033-0/+102
| | | | | | | | | | | | | | | | Some machines e.g. odroid-c4 disable dri3 and it now fails to build mesa-gl e.g. | aarch64-yoe-linux-ld.lld: error: undefined symbol: dri3_check_multibuffer [3/5] | >>> referenced by drisw_glx.c | >>> libglx.a.p/drisw_glx.c.o:(driswCreateScreenDriver) in archive src/glx/libglx.a Apply patches from a pull request which is already submitted upstream (From OE-Core rev: c713b8458968815b1bb53d3523ee0af52a9f2945) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 24.0.0 -> 24.0.1Markus Volk2024-02-163-1/+1
| | | | | | | (From OE-Core rev: 4c846cef03c6d56b2dc26d5edb50d2498205a549) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 23.3.5 -> 24.0.0Markus Volk2024-02-154-10/+10
| | | | | | | | | | | | | | | | - refresh 0001-meson.build-check-for-all-linux-host_os-combinations.patch - rework VIDEO_CODECS. mesa now provides options for 'all' and 'all_free' Adjust accordingly. Free codecs are built by default: Codecs : av1dec av1enc vp9dec If LICENSE_FLAGS_ACCEPTED contains 'commercial' all supported codecs are built: Codecs : vc1dec h264dec h264enc h265dec h265enc av1dec av1enc vp9dec (From OE-Core rev: 8975bf600de8a3faa8d222f50beb1e2b02fb2870) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 23.3.4 -> 23.3.5Fabio Estevam2024-02-033-1/+1
| | | | | | | | | | | Mesa 23.3.5 release notes: https://lists.freedesktop.org/archives/mesa-announce/2024-February/000748.html (From OE-Core rev: f740aa48c34c0abd01b6a506ba6951890ee9415f) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 23.3.3 -> 23.3.4Fabio Estevam2024-02-023-1/+1
| | | | | | | | | | | | Mesa 23.3.4 release notes: https://lists.freedesktop.org/archives/mesa-announce/2024-January/000745.html (From OE-Core rev: c8abc906d1c85ebc967a0aa0e8e52bd4ed09708d) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 23.3.2 -> 23.3.3Fabio Estevam2024-01-153-1/+1
| | | | | | | | | | | | Mesa 23.3.3 release notes: https://lists.freedesktop.org/archives/mesa-announce/2024-January/000742.html (From OE-Core rev: c0ea63f3c8143052a081d696e714b358ef6d03bd) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.3.1 -> 23.3.2Wang Mingyu2024-01-074-4/+4
| | | | | | | | | | | 0001-meson.build-check-for-all-linux-host_os-combinations.patch refreshed for 23.3.2 (From OE-Core rev: dd1f7452642d819dd4bc15500d9e4eb5e5cd64c6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.2.1 -> 23.3.1Lucas Stach2023-12-214-47/+4
| | | | | | | | | | | | - build amd vulkan driver for x86 platforms - drop included patch [https://gitlab.freedesktop.org/mesa/mesa/-/blob/1fbdd37d4c1133ced5eb9812daa1fff04cbf5daa/meson.build#L1711] (From OE-Core rev: 9d862e82a3d36ae27dc9fc919da203d200a67650) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 23.1.8 -> 23.2.1Markus Volk2023-10-045-111/+12
| | | | | | | | | | | | | | | | | | | - update 0001-gallium-Fix-build-with-llvm-17.patch - remove as added upstream: 0001-intel-Allow-using-intel_clc-from-the-system.patch - intel clc build is currently broken with llvm 17, but that issue is also present with mesa 23.1.8 https://gitlab.freedesktop.org/mesa/mesa/-/issues/9701 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24879 https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2153 (From OE-Core rev: d95beb63b3cb8b8e53109304ab88b3938b137035) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix native build on hosts with llvm-dev installedKhem Raj2023-09-292-0/+43
| | | | | | | | | | | This issue is always there, it just shows up with newer LLVM since symbol mismatches are being found otherwise it was happily linking with host libLLVM.so silently. (From OE-Core rev: 941089fa63e2b38608291251d52a354f0f624926) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Simplify llvm-17 patchKhem Raj2023-09-291-5/+2
| | | | | | | | | | | llvm-17 support patch had redundant checks for llvm-17, Simplify them as submitted in v3 upstream (From OE-Core rev: 97f97ff02514303b71a07e53d2a486a12861814e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 23.1.7 -> 23.1.8Markus Volk2023-09-263-1/+1
| | | | | | | | (From OE-Core rev: eb7339bd83c101f127cf580024bb5448ab36943e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update clang-17 patch to upstream v2Khem Raj2023-09-261-9/+18
| | | | | | | (From OE-Core rev: 1172774088a81dfa0447cf7d39caf115bd6c6a7c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.1.3 -> 23.1.7Markus Volk2023-09-143-1/+1
| | | | | | | | (From OE-Core rev: 335b7a7f4e9d67e724a6ff541b4117ece772e0ab) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add intel raytracing support to opencl buildMarkus Volk2023-09-092-2/+112
| | | | | | | | | | | | | | | | | | Recently mesa added a patch that allows to cross-compile Intel Vulkan ray tracing support. - Backport this patch - Build and install intel_clc for mesa-native - Add a dependency on mesa-native to provide intel_clc for target build - Add a dependency on python3-ply-native as needed to build intel-clc - Automatically build Intel Vulkan ray tracing support if the opencl packageconfig was added (From OE-Core rev: 25fbe4d1dcfa329f0229eb3ed384b8b84583bd45) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglu: update 9.0.2 -> 9.0.3Alexander Kanavin2023-09-072-36/+5
| | | | | | | | | | | Drop backport. Set gl_provider explicitly, as upstream changed the default to glvnd. (From OE-Core rev: 3f8627d8367720ec3160b337f46b4d383ebf431d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable swrast Vulkan driver if LLVM drivers are enabledDmitry Baryshkov2023-07-271-0/+1
| | | | | | | | | | | The software Vulkan driver requires the LLVM to be built. Make this driver enabled if the `gallium-llvm' config option is enabled. (From OE-Core rev: 4c95a7381ea835dce8119845d6c146800e98f960) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: simplify overriding GALLIUMDRIVERS_LLVMDmitry Baryshkov2023-07-271-2/+2
| | | | | | | | | | | | | | Embedded devices might want to extend and/or override the GALLIUMDRIVERS_LLVM variable (to change the set of gallium drivers enabled for the particular device). Simplify this task by making the GALLIUMDRIVERS_LLVM variable follow the rest of mesa.inc variables and contain the leading comma. (From OE-Core rev: fac5aa9503c2c6579b0389f8c304b9a914b940c8) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with upcoming LLVM 17Khem Raj2023-07-102-0/+35
| | | | | | | (From OE-Core rev: c030397f08abfeea95be03e57781f58eb3c039f1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.1.1 -> 23.1.3Wang Mingyu2023-06-283-1/+1
| | | | | | | (From OE-Core rev: 5e720f05d308051d16d7fc6651bd978de47e012b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.0.3 -> 23.1.1Alexander Kanavin2023-06-164-7/+7
| | | | | | | (From OE-Core rev: 5ad5792bdd11ac009b0111ff34f38ad06eba3432) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm,mesa: Drop MESA_LLVM_RELEASEKhem Raj2023-05-251-4/+1
| | | | | | | | | | | This was needed to use provide different llvm from meta-clang or other layers, seems unused since meta-clang has stopped providing a versioned llvm (From OE-Core rev: 7012aefb10a4101b2f3baf4dc20c64e3260b4cc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 23.0.2 -> 23.0.3Otavio Salvador2023-05-033-1/+1
| | | | | | | | | | | Update to 23.0.3 stable release. Release notes in: - https://docs.mesa3d.org/relnotes/23.0.3.html (From OE-Core rev: 0defbb5925e309799162e221285e4cfb2e2c2ca5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.0.0 -> 23.0.2Wang Mingyu2023-04-133-1/+1
| | | | | | | | (From OE-Core rev: f7f483f90ba17342a83fdfe7c7dccf5a3f7bf624) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.3.5 -> 23.0.0Alexander Kanavin2023-03-226-160/+1
| | | | | | | | | | | | | | | | | Drop patches: 0001-gbm-backend-fix-gbm-compile-without-dri.patch 0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch (backports) 0001-util-format-Check-for-NEON-before-using-it.patch (upstream submission has stalled with unanswered concerns from upstream; patch no longer applies; issue does not reproduce with 'raspberrypi0-wifi' MACHINE) (From OE-Core rev: cdb5d1662bd9df5e9137a52187c94792d2d3247d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: do not strip rpaths from dri driversAlexander Kanavin2023-03-221-3/+0
| | | | | | | | | | | | | | | | This was needed back when we used upstream llvm-config which would add bogus rpaths into the drivers; nowadays it is replaced with a oe-specific wrapper. The particular reason is that mesa-native relies on having rpaths to work correctly (i.e. find other native libraries in the same sysroot location). (From OE-Core rev: 067e131b2183892b6e8ffc604b6bed0424637ae0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable a rich set of drivers for native buildsAlexander Kanavin2023-03-221-6/+14
| | | | | | | | | | | | | | | | Without this, the only available driver would be swrast (without llvmpipe) which is far too slow to be practical, and so qemu wouldn't be able to perform accelerated graphics. The one major dependency pulled in by this change is llvm-native which takes just under three minutes on my machine. If this is undesitable, opengl can be removed from DISTRO_FEATURES_NATIVE. (From OE-Core rev: 98d5c382e55910870d7e86dc83e3b7c742ea54cd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: allow mesa-native/nativesdk only subject to opengl/vulkan DISTRO_FEATUREAlexander Kanavin2023-03-221-1/+1
| | | | | | | | | | | | | This prevents accidental builds of it when native/nativesdk opengl is not actually enabled (which may cause undesirable lengthening of dependency chains or build failures because those dependencies don't enable options required for mesa). (From OE-Core rev: 3daa991705c2c8e6e3d86a2c7e427f84176b31c2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: import patch from upstream to fix tools build on muslDmitry Baryshkov2023-03-112-0/+45
| | | | | | | | | | Fix building the crashdec on the musl systems. (From OE-Core rev: 8bb91d97757f7a84e8ecdbb18457a9d3dcce6417) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: packageconfig weston should have a dependency on wayland-protocolsCarlos Alberto Lopez Perez2023-03-061-1/+1
| | | | | | | | | | | | | | | | wayland-protocols is a required depency of mesa-demos when the 'wayland' packageconfig option is enabled. Usually this doesn't lead to a build failure because mesa itself depends on wayland-protocols, but when using other graphics drivers this can cause the following build falure: | ../mesa-demos-8.5.0/meson.build:69:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig | ERROR: meson failed (From OE-Core rev: 89615b56899eed7b5c6ad731e2168d99a30fba6c) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: provide support for packing development and testing toolsDmitry Baryshkov2023-02-241-1/+21
| | | | | | | | | | | | | | | | | Mesa contains several optional tools that can be useful for application and driver developers. Add a packageconfig option to build a mesa-tools package containing relevant programs. Note, the fdperf tool for the freedreno depends on libconfig, which is not a part of oe-core, thus this tool is not built by default by this recipe even when freedreno driver is selected. The fdperf tool needs to be explicitly enabled by adding 'freedreno-fdperf' to the PACKAGECONFIG. (From OE-Core rev: 95eb4008350424f25d08da96bc6d7d56bf4cc161) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.3.3 -> 22.3.5Alexander Kanavin2023-02-154-38/+1
| | | | | | | | (From OE-Core rev: c7f623a9ef6809db60a792b0e2bd1f41c421a8b3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add PACKAGECONFIG for video-codecsMarkus Volk2023-02-081-0/+4
| | | | | | | | | | | | 'mesa' no longer provides support for it by default because these codecs are patent encumbered. Hide the build behind the commercial flag (From OE-Core rev: 8a928ca5279b6836df9ae1cf9d878c3ee0fa63eb) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update submitted patch with backported versionMartin Jansa2023-01-182-60/+26
| | | | | | | | | | | | | | | | | | * this version was merged to main in: https://gitlab.freedesktop.org/mesa/mesa/-/commit/267dd1f4d571ee606141aa66f1665aa152b4e911 and cherry-picked to staging/23.0 as well in: https://gitlab.freedesktop.org/mesa/mesa/-/commit/54cfb552abc50e8167cdc46d87455a9a414d7c65 and as a bonus it doesn't break the build with DEBUG_BUILD for newer toolchain, so we can apply it for target build as well, see: https://lists.openembedded.org/g/openembedded-core/message/169002 https://lists.openembedded.org/g/openembedded-core/message/170930 (From OE-Core rev: fa8826a325cf18f22ea7a282a29c83f7c5819adb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: allow mesa (gbm) to compile without backendVincent Davis Jr2023-01-183-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit introduces a patch that allows for gbm to be built with an empty backend. There are situation where mesa-gl is the preferred provider for virtual/libgbm, virtual/libgl, virtual/mesa, etc... But the x11 DISTRO_FEATURE isn't included this leads to build errors such as | /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o: in function `find_backend': | backend.c:(.text.find_backend+0xa4): undefined reference to `gbm_dri_backend' | /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o:(.data.rel.ro.builtin_backends+0x4): undefined reference to `gbm_dri_backend' | collect2: error: ld returned 1 exit status Add patch to bypass compilation issue by excluding gbm dri backend. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20447 https://gitlab.freedesktop.org/mesa/mesa/-/commit/842ca284650f066e58706741a7d22d67b5088e60 Commit also includes the use of TARGET_CFLAGS variable in mesa-gl recipe to fix bellow compilation bug. /../recipe-sysroot/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory | 40 | #include <drm.h> (From OE-Core rev: 00a662c5e28235fb64348aab4ce9aeb5e7f95d06) Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.2.3 -> 22.3.3Alexander Kanavin2023-01-155-44/+8
| | | | | | | | | | | | gallium-xvmc option removed upstream Remove 0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch as upstream code no longer uses these definitions. (From OE-Core rev: 3bf4341ef6a681574a1c6f393bf241f412e26eac) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglu: Remove deprecated register in C++17Khem Raj2023-01-152-1/+35
| | | | | | | (From OE-Core rev: 93287c629e889d8026f76a42646bbe4529a7523f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes, classes: Avoid adding extra whitespace to PACKAGESPLITFUNCSPeter Kjellerstedt2023-01-121-1/+1
| | | | | | | | | | | | This is a follow-up to commit 846ff49465 to remove the extra whitespace that is no longer needed after converting :append and :prepend to += and =+. (From OE-Core rev: 5a38be49e451c9f9d973b10a33c3972507f7b18a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: gallium is required when enabling x11Carlos Alberto Lopez Perez2023-01-061-2/+2
| | | | | | | | | | | Otherwise Meson will fail wit this error: - meson.build:555:6: ERROR: Problem encountered: xlib based GLX requires at least one gallium driver Related: https://github.com/agherzan/meta-raspberrypi/pull/1119 (From OE-Core rev: e7ee2dd98148e5104c52735a9a43e519dc24abfd) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCSRichard Purdie2023-01-051-1/+1
| | | | | | | | | | As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot, use the preferred syntax which is also simpler to parse and change. (From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default.inc: set LLVMVERSION to a major version wildcardAlexander Kanavin2022-12-261-1/+1
| | | | | | | | | | | | | | | There is no longer need to be specific: none of the recipes using this variable in core need to know the particular version of llvm exactly when using the default one set via PREFERRED_VERSION from LLVMVERSION. This as well enables automated version updates of llvm for minor releases. (From OE-Core rev: f0ab1736438f6f23603e3694dc2f0b724b103722) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable glvnd supportVincent Davis Jr2022-11-291-6/+14
| | | | | | | | | | | | | Allows mesa to be built with glvnd support. Thus, creates libEGL_mesa.so* and libGLX_mesa.so* mesa(vendor) libraries meant to coexist with vendor neutral dispatch libraries from libglvnd. (From OE-Core rev: 1c0577d66b5c26b9b248797f17d652daf6d9dfd1) Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: do not rely on native llvm-config in target sysrootAlexander Kanavin2022-11-151-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sadly the magic is not perfect: llvm-config contains a hardcoded value for the libdir from the native configuration, and things will break if the target build installs libraries somewhere else (e.g. lib64). llvm-config in target bindir also needs a rpath adjustment, otherwise it simply won't even run when e.g. building for arm on x86. To avoid patching llvm-source let's simply add more cases to the llvm-config wrapper script, so that falling through to llvm-config binary is avoided. Fortunately those cases are all static in what they return, even though llvm-config binary does poke around the file tree to arrive at them (which is where breakage happens if native and target don't match exactly wrt libdir). I verified that this works by building mesa with llvm enabled for qemuarm64 and with baselib set to 'lib64' - so that both the target architecture and target libdir differ from native ones. Upstream tickets: https://github.com/llvm/llvm-project/issues/58984 https://github.com/mesonbuild/meson/issues/11043 (From OE-Core rev: 056431883e94296b767a479d029b914392e4fd7c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.2.2 -> 22.2.3Wang Mingyu2022-11-143-1/+1
| | | | | | | | (From OE-Core rev: d7037207e5c7d93031311b3ad88e4548ce8bb47a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>