diff mbox series

mesa: upgrade 25.0.2 -> 25.0.5

Message ID 20250502222853.934114-1-dmitry.baryshkov@oss.qualcomm.com
State New
Headers show
Series mesa: upgrade 25.0.2 -> 25.0.5 | expand

Commit Message

Dmitry Baryshkov May 2, 2025, 10:28 p.m. UTC
Several fixes, mostly targeting AMD and Qualcomm platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 ...SIMD-blake-optimisations-on-x32-host.patch | 28 -------------------
 meta/recipes-graphics/mesa/mesa.inc           |  7 ++---
 2 files changed, 3 insertions(+), 32 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/files/0001-meson-disable-SIMD-blake-optimisations-on-x32-host.patch
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/files/0001-meson-disable-SIMD-blake-optimisations-on-x32-host.patch b/meta/recipes-graphics/mesa/files/0001-meson-disable-SIMD-blake-optimisations-on-x32-host.patch
deleted file mode 100644
index f8af2bafb433..000000000000
--- a/meta/recipes-graphics/mesa/files/0001-meson-disable-SIMD-blake-optimisations-on-x32-host.patch
+++ /dev/null
@@ -1,28 +0,0 @@ 
-From f3c34b8da2662643089b33be8b93e56a4da8703d Mon Sep 17 00:00:00 2001
-From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
-Date: Wed, 2 Apr 2025 15:30:20 +0300
-Subject: [PATCH] meson: disable SIMD blake optimisations on x32 host
-
-On X.org startup libgallium crashes on x32 hosts inside
-blake3_hash_many_sse41(), most likely because of the different pointer
-size. Disable SIMD blake implementation if x32 is detected.
-
-Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
-Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/b9c6afd3a7c7ac302b47e70b5c745b84cb35f188]
----
- src/util/blake3/meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/util/blake3/meson.build b/src/util/blake3/meson.build
-index 6b53daab6b32..ce6dd85ac1ea 100644
---- a/src/util/blake3/meson.build
-+++ b/src/util/blake3/meson.build
-@@ -24,6 +24,8 @@ if cpu_family == 'x86_64'
-     else
-       files_blake3 += ['blake3_sse2_x86-64_windows_gnu.S', 'blake3_sse41_x86-64_windows_gnu.S', 'blake3_avx2_x86-64_windows_gnu.S', 'blake3_avx512_x86-64_windows_gnu.S']
-     endif
-+  elif meson.get_compiler('c').sizeof('void *') == 4
-+    blake3_defs += blake3_x86_no_simd_defs
-   else
-     files_blake3 += ['blake3_sse2_x86-64_unix.S', 'blake3_sse41_x86-64_unix.S', 'blake3_avx2_x86-64_unix.S', 'blake3_avx512_x86-64_unix.S']
-   endif
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 49b3de1ba796..66fb896676ac 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -16,15 +16,14 @@  PE = "2"
 
 SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \
            file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
-           file://0001-meson-disable-SIMD-blake-optimisations-on-x32-host.patch \
-           file://0001-freedreno-don-t-encode-build-path-into-binaries.patch\
+           file://0001-freedreno-don-t-encode-build-path-into-binaries.patch \
            file://0001-mesa-clc-add-an-option-to-force-inclusion-of-OpenCL-.patch \
            file://0001-clover-Don-t-include-libclc-headers.patch \
            file://0001-gallium-clover-Do-not-use-LLVM_LIBRARY_DIR-for-FALLB.patch \
 "
 
-SRC_URI[sha256sum] = "adf904d083b308df95898600ffed435f4b5c600d95fb6ec6d4c45638627fdc97"
-PV = "25.0.2"
+SRC_URI[sha256sum] = "c0d245dea0aa4b49f74b3d474b16542e4a8799791cd33d676c69f650ad4378d0"
+PV = "25.0.5"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"