summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* mesa: update 22.2.0 -> 22.2.2Markus Volk2022-10-283-1/+3
| | | | | | | | | | - add a PACKAGECONFIG for perfetto support (From OE-Core rev: cbcaff0b4cc349706b9847f4262746b43adba209) 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 native patch via a variableKhem Raj2022-10-261-2/+3
| | | | | | | | | | | | This helps override the SRC_URI in entirety if needed by and overriding recipe (From OE-Core rev: 42a0cb57503dff5ac2404f83353661fe9f987e5d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: only apply patch to fix ALWAYS_INLINE for nativeKai Kang2022-10-261-1/+3
| | | | | | | | | | | | | | | | | | | | | 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not needed by target mesa any more. But it still fails to compile mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu 18.04 with gcc 7.5.0: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: | ../mesa-22.1.6/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee | src_is_ssa(nir_src *src, void *state) | ^~~~~~~~~~ So only apply it for mesa-native. (From OE-Core rev: c6a6d0c2680799683d58968c2558a224f27caaa2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.6 -> 22.2.0Markus Volk2022-09-2211-363/+33
| | | | | | | | | | | | | | | | | - add PACKAGECONFIG to build vulkan beta drivers - add PACKAGECONFIG for zink and build it along with vulkan - remove TLS-ELF patch and the associated PACKAGECONFIG. It looks like its unneeded - remove swrast_kms backport patch - remove the patch that reverts the deprecation of drm_handle as it is not applicable. Still needed ? - fix patch fuzz warnings License file has been changed, but no change of licenses https://gitlab.freedesktop.org/mesa/mesa/-/commit/e6392fcf3d8b8dd7e3a8427755d8be2f2332366a (From OE-Core rev: a85d0566c0e09e7ccd394c6465305ab97ce5973a) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: build clover with native LLVM codegen support for freedrenoAndrey Konovalov2022-09-011-1/+2
| | | | | | | (From OE-Core rev: fbd9d6643ff0b345fa0e3b369eabc0efefeac5e3) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add pipe-loader's libraries to libopencl-mesa packageAndrey Konovalov2022-09-011-1/+1
| | | | | | | | | clover needs those. (From OE-Core rev: 86dd7b1c968ad5d953771b5383e10ec50addc53c) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Rework llvm handlingRichard Purdie2022-08-311-4/+10
| | | | | | | | | | | | meson in mesa no longer uses WANT_LLVM_RELEASE and LLVM_CONFIG so drop those. Instead, copy the llvm-config binary into the target sysroot which allows the paths to be relocated to the target in question. This should allow the llvm patch for YOCTO_ALTERNATE_EXE_PATH to be dropped assuming nothing else relies upon it. (From OE-Core rev: 1dfb29a66f0db673c9d6faffed9b5bd855b206e1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.5 -> 22.1.6Alexander Kanavin2022-08-213-1/+1
| | | | | | | | (From OE-Core rev: 9ebbd72d3e9f8b717c41196f50c51dc06dca92c5) 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.1.3 -> 22.1.5Alexander Kanavin2022-08-103-1/+1
| | | | | | | | (From OE-Core rev: 53e96ef9dfb2248000d347e681d906cb20855371) 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>
* rust/mesa: Drop obsolete YOCTO_ALTERNATE_MULTILIB_NAMERichard Purdie2022-08-081-1/+0
| | | | | | | | This variable is no longer used by the llvm patches. (From OE-Core rev: 35e1ecf88cf9725e1ba43c948e90359df983002f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix compile error when debug build enabledKai Kang2022-07-282-0/+66
| | | | | | | | | | | | | | | | | | It fails to compile mesa{,-native} when DEBUG_BUILD is enabled: ../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee src_is_ssa(nir_src *src, void *state) ^~~~~~~~~~ Backport patch from mesa merge request to fix it. (From OE-Core rev: 468715c42632a8467dc1f0abe0f3cd540de5f7c3) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.2 -> 22.1.3Alexander Kanavin2022-07-083-1/+1
| | | | | | | | (From OE-Core rev: c10c10e99956231b9dfb98fbe4653c54aa5cddf1) 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>
* bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change ↵Richard Purdie2022-06-282-2/+2
| | | | | | | | | | | | RDEPENDS:${PN}-dev There is a pattern that several recipes need to break the dependency of ${PN}-dev on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise this and allow it to be changed more easily. (From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.0.3 -> 22.1.2Alexander Kanavin2022-06-224-1/+115
| | | | | | | | (From OE-Core rev: d5b2e40be6d6e4c52078ab5a087eefaa7330c320) 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: backport a patch to support compositors without zwp_linux_dmabuf_v1 againMartin Jansa2022-06-172-0/+159
| | | | | | | | | | * the same will be needed for kirkstone (From OE-Core rev: 3857066550d77c2c8134326f7e9b28d0f4d78b7a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: update 8.4.0 -> 8.5.0Alexander Kanavin2022-06-077-696/+43
| | | | | | | | | | | | | | | Convert to meson, drop unsupported options. Drop autotools-specific and glew-specific patches (glew support dropped upstream). glu dependency is now x11-specific. 0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch dropped as patched files removed upstream. (From OE-Core rev: b9fc45915977c34b3a50e3d64347c2b247c49840) 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.inc: package 00-radv-defaults.confMarkus Volk2022-05-211-1/+1
| | | | | | | | | | | | | | | this fixes: ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share/drirc.d/00-radv-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: e306dd7d300727852a2794cd78f3097d5999eb58) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.0.2 -> 22.0.3Alexander Kanavin2022-05-203-1/+1
| | | | | | | | (From OE-Core rev: 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96) 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: upgrade 22.0.0 -> 22.0.2Alexander Kanavin2022-05-053-1/+1
| | | | | | | | (From OE-Core rev: f3e9444968fd47b3c8e0b2ee7b1b17f43a6bd56b) 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>
* llvm: use default install pathsAlexander Kanavin2022-04-191-1/+1
| | | | | | | | | | | | | | | | | There was a very brittle sed hack against cpp source code that allowed installing multiple llvm versions into the same target/sysroot. Patching with sed is prone to silent regressions as it can change both too little and too much, and it indeed it broke with llvm 14. It's also difficult to tell what the 'right' change should look like. If this feature is actually needed somewhere, please do it properly: proper patch and upstream first. (From OE-Core rev: 974f67b18a2f1a15c76785d69e7234594af97a88) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Allow building Mesa's OpenCL through PACKAGECONFIGZoltán Böszörményi2022-03-181-2/+10
| | | | | | | (From OE-Core rev: 78d17787eb4dd65dacde785dbb47359726c22173) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: align target- and native buildMarkus Volk2022-03-171-10/+8
| | | | | | (From OE-Core rev: bfa40b777f08bab97263559a1f91200005eb180c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 22.0.0Markus Volk2022-03-1511-110/+59
| | | | | | | | | | | | | | | | | | | - remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream - adjust 0002-meson.build-make-TLS-ELF-optional.patch - fix patch fuzz - DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required License-Update: removed references to deleted code. RP: Fix dri PACKAGECONFIG reference to opengl instead (From OE-Core rev: 325ea352a8326f3b35a8a591f8f7a7dfa890cbcb) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "mesa: make sure GLES3 headers are installed"Richard Purdie2022-03-131-3/+0
| | | | | | | | This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make sure GLES3 headers are installedSamuli Piippo2022-03-091-0/+3
| | | | | | | | | | | | Since there is no libgles3-mesa package that would pull in the headers, add dependency to libgles2-mesa-dev. Now there no need to manually add GLES3 headers to image or toolchain. (From OE-Core rev: 7c6effef9d471efbaea76e23e91938687fcc661c) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.6 -> 21.3.7wangmy2022-03-023-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Bug fixes --------- lavapipe: dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.step fails ANV: Bad output from TransformFeedback . Regression from Mesa 21. Something to do with VB+XFB -> VB+XFB dependency? Changes ------- pan/bi: Avoid *FADD.v2f16 hazard in optimizer pan/bi: Avoid *FADD.v2f16 hazard in scheduler pan/bi: Lower swizzles on CSEL.i32/MUX.i32 panvk: Use more reliable assert for UBO pushing radv: Fix preamble argument order. ir3/spill: Fix simplify_phi_nodes with multiple loop nesting lavapipe: fix sampler + sampler view leaks. lavapipe: reference gallium fences correctly. crocus: fix leak on gen4/5 stencil fallback blit path. i915g: Initialize the rest of the "from_nir" temporary VS struct. pick_status.json: Update to dabba7d7263be6ffb6f3676465e92c65952fa824 pick_status.json: Mark b07372312d7053f2ef5c858ceb1fbf9ade5e7c52 as denominated gallivm/nir: Call nir_lower_bool_to_int32 after nir_opt_algebraic_late nir: All set-on-comparison opcodes can take all float types intel/fs: Don't optimize out 1.0*x and -1.0*x spriv: Produce correct result for GLSLstd450Step with NaN spirv: Produce correct result for GLSLstd450Modf with Inf spirv: Produce correct result for GLSLstd450Tanh with NaN nir: Properly handle various exceptional values in frexp nir: Produce correct results for atan with NaN nir: Add missing dependency on nir_opcodes.py anv: Call vk_command_buffer_finish if create fails dri: avoid NULL deref of DrawBuffer on flush nir: fix lower_memcpy anv/genxml/intel/fs: fix binding shader record entry anv: don't set color state when input state was requested ac/surface: add more elements to meta equations because HTILE can use them lavapipe: use util_pack_color_union() for generating clear colors aux/draw: fix llvm tcs lane vec generation zink: always set VkPipelineMultisampleStateCreateInfo::pSampleMask zink: always invalidate streamout counter buffer if not resuming iris: Don't fast clear with the view format r300: fix transformation of abs modifiers with negate radeonsi: workaround Specviewperf13 Catia hang on GFX9 radeonsi: fix depth stencil multi sample texture blit glx: fix pbuffer refcount init radv/winsys: fix initializing debug/perftest options if multiple instances intel/genxml: add PIPE_CONTROL field for L3 read only cache invalidation anv: invalidate L3 read only cache when VF cache is invalidated iris: invalidate L3 read only cache when VF cache is invalidated iris: fix a leak on surface states mesa/st: always use DXT5 when transcoding ASTC format tegra: Use private reference count for sampler views tegra: Use private reference count for resources radv: Disable IB2 on compute queues. venus: properly destroy deferred ahb image before real image creation (From OE-Core rev: 31daf916d218d5e6e95bac857cbeb0d44901e4b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.5 -> 21.3.6wangmy2022-02-163-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Bug fixes --------- radv: CullDistance fail i965: Segmentation fault during glinfo context destruction, regression in 21.3.x Vulkan Wayland WSI returns empty surface formats [REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white Flickering Intel Uhd 620 Graphics Broken Terraria & Glitches in Forza Horizon 4 Changes ------- Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants" anv: Fix subgroupSupportedStages physical property Revert "zink: handle vertex buffer offset overflows" ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor() ir3/cp: ir3: Prevent propagating shared regs out of loops harder ir3: opt_deref in opt loop to remove unnecessary tex casts crocus: find correct relocation target for the bo. vulkan: Fix leak of error messages pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68 pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE. vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness. vulkan/wsi/wayland: Convert missing vulkan formats to shm formats. vulkan/wsi/wayland: Add modifiers for RGB formats. vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness. anv/pass: Don't set first_subpass_layout for stencil-only attachments vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path i965: Avoid NULL drawbuffer in brw_flush_front intel/fs: don't set allow_sample_mask for CS intrinsics intel/nir: fix shader call lowering panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs zink: never use SpvOpImageQuerySizeLod for texel buffers zink: reorder fbfetch flag-setting to avoid null deref zink: fix vertex buffer mask computation for null buffers zink: clamp tbo creation to maxTexelBufferElements zink: add vertex shader pipeline bit for generated barrier construction zink: fix waiting on current batch id zink: cast image atomic op params/results based on image type zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: ci updates zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds zink: fix PIPE_CAP_TGSI_BALLOT export conditional zink: reject invalid draws zink: min/max blit region in coverage functions anv: Disable CCS_E for some 8/16bpp copies on TGL+ anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+ anv: Re-enable CCS_E on TGL+ iris: implement inter-context busy-tracking aco: fix neg(abs(mul(a, b))) if the mul is not VOP3 aco: don't encode src2 for v_writelane_b32_e64 radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances radv/winsys: fix missing buffer_make_resident() for the null winsys tu: VkExternalImageFormatProperties is optional (From OE-Core rev: 05e45cb04e72d369aa6db1793cd010096db3cc09) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.4 -> 21.3.5Alexander Kanavin2022-02-053-1/+1
| | | | | | | (From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.3 -> 21.3.4wangmy2022-01-183-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Bug fixes --------- i965: gen5 exposes EXT_texture_integer incorrectly [radeonsi, regression, bisected]: Rendering issues with Factorio mesa >= 21.x (with llvmpipe) will break the game JVGS Panfrost - RK3399 - FACTORIO - glitches everywhere Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures Game Starsector crashes under certain circumstances with mesa 21.3.+ FreeSpace models incorrectly rendered on Polaris cards, causing system freeze Incomplete evaluation of nested DEFINE macros [r300g, bisected] piglit glsl-fs-discard-04 fails Panfrost G52 Firefox terrible glitches on youtube playback Changes ------- pan/bi: Fix load_const of 1-bit booleans gallium/util: Add pixel->blocks box helper lima,panfrost: Correct pixel vs block mismatches radv: Set optimal copy alignment to 1. microsoft/compiler: Fix dxil_nir_create_bare_samplers() ir3/ra: Fix logic bug in compress_regs_left ir3: Bump type mismatch penalty to 3 aco: don't allow SDWA on VOP3P instructions aco: validate VOP3P opsel correctly tu: fix workaround for depth bounds test without depth test intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint crocus: fail resource allocation properly. freedreno/afuc: Disable the disassembler on 32-bit builds. i915g: Turn off FP16 in the vertex shaders. r300: Fix omod failing to increase the number of channels stored. nir_to_tgsi: Fix a bug in TXP detection after backend lowering. pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4 pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated r300: fix handling swizzle in transform_source_conflicts intel/compiler/test: Fix build with GCC 7 i965: Disable EXT_texture_integer on Gfx4 and Gfx5 Revert "anv: Stop doing too much per-sample shading" anv: don't leave anv_batch fields undefined anv: limit compiler valid color outputs using NIR variables intel/dev: fixup chv workaround etnaviv: initialize vertex attributes on context reset etnaviv: drm: fix size limit in etna_cmd_stream_realloc etnaviv: drm: properly handle reviving BOs via a lookup zink: fix -Warray-bounds warning radv: fix xfb query copy param ordering zink: always unset vertex shader variant key data when changing last vertex stage zink: add extra synchronization for buffer descriptor binds zink: use device-local heap for sparse backing allocations r300: Remove broken optimization in rc_transform_KILL radeonsi/gfx8: use the proper dcc clear size vbo/dlist: fix loopback crash vbo/dlist: add vertices to incomplete primitives radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex glapi: should not add alias function to static_data.py aco: remove pack_half_2x16(a, 0) optimization intel/fs: OpImageQueryLod does not support arrayed images as an operand v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM radv: add drirc radv_disable_htile_layers and enable it for F1 2021 iris: unref syncobjs and free r/w dependencies array for slab entries mesa: free idalloc storage for display lists mesa: free vbo_save_vertex_list store prims glsl/glcpp: make sure to expand new token after concatenation venus: subtract appended header size in vn_CreatePipelineCache Fix compilation on armv7l with gcc 11.2.0 (From OE-Core rev: 3cdb743ec048aa06c10e0da0fb3feb1ca740b6e2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 21.3.1 -> 21.3.3Otavio Salvador2022-01-053-1/+1
| | | | | | | | | | | | | | Upgrade to 21.3.3 stable release. It includes bugfixes and minor improvements, for more detailed information about the included changes refer to the specific release notes: - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html (From OE-Core rev: 6982e2d66bd8296a3f67c72636ce015d328377d0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>