@@ -1,3 +1,4 @@
+From 539870cc9dc54989c588f9a6bcf71f19f3ca45f6 Mon Sep 17 00:00:00 2001
From: Khem Raj <khem.raj@oss.qualcomm.com>
Date: Thu, 13 Aug 2026 00:00:00 +0000
Subject: [PATCH] addrlib: avoid __builtin_cpu_supports for avx2 detection
@@ -16,8 +17,8 @@ entirely and works with both GCC and Clang.
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43820]
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
- src/amd/addrlib/src/core/addrswizzlersimd.h | 15 +++++++++++++--
- 1 file changed, 13 insertions(+), 2 deletions(-)
+ src/amd/addrlib/src/core/addrswizzlersimd.h | 15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/amd/addrlib/src/core/addrswizzlersimd.h b/src/amd/addrlib/src/core/addrswizzlersimd.h
index fd53e40..ce30204 100644
@@ -31,7 +32,7 @@ index fd53e40..ce30204 100644
+#include <cpuid.h>
#endif
#include <immintrin.h>
-
+
@@ -85,7 +87,18 @@ static inline bool CpuSupportsAvx2() {
#if _MSC_VER
return IsProcessorFeaturePresent(PF_AVX2_INSTRUCTIONS_AVAILABLE);
@@ -52,5 +53,3 @@ index fd53e40..ce30204 100644
#else
#error "What platform is this?"
#endif
---
-2.43.0
@@ -1,4 +1,4 @@
-From 1ae1feb55885c8ec26ed2ef148fa75c6240d9804 Mon Sep 17 00:00:00 2001
+From ea7f29215915d3e08111b4ed489defedc0f30c8b Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Date: Wed, 10 Dec 2025 02:27:16 +0200
Subject: [PATCH] freedreno: don't encode build path into binaries
@@ -25,7 +25,7 @@ Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/freedreno/meson.build b/src/freedreno/meson.build
-index e8f01b880bc..8144a75bd1c 100644
+index e8f01b8..8144a75 100644
--- a/src/freedreno/meson.build
+++ b/src/freedreno/meson.build
@@ -4,9 +4,10 @@
@@ -42,7 +42,7 @@ index e8f01b880bc..8144a75bd1c 100644
dep_libarchive = dependency('libarchive', allow_fallback: true, required: false, disabler : true)
dep_libxml2 = dependency('libxml-2.0', allow_fallback: true, required: false)
diff --git a/src/freedreno/registers/meson.build b/src/freedreno/registers/meson.build
-index 9318ce48fe5..8d2b305d202 100644
+index 9318ce4..8d2b305 100644
--- a/src/freedreno/registers/meson.build
+++ b/src/freedreno/registers/meson.build
@@ -16,6 +16,8 @@ freedreno_copyright = files(copyright_file)
@@ -54,6 +54,3 @@ index 9318ce48fe5..8d2b305d202 100644
subdir('adreno')
foreach f : xml_adreno_files
-2.55.0
-
@@ -1,4 +1,4 @@
-From 1217bf10e7c79f8e7f716fae8f7ac2f2211c35d2 Mon Sep 17 00:00:00 2001
+From 82b7419010da29c7d2e1968a369f3682bc1010ef Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 13 Jan 2020 15:23:47 -0800
Subject: [PATCH] meson misdetects 64bit atomics on mips/clang
@@ -1,4 +1,4 @@
-From 43090e97a7c586a682eb845442191236f3963242 Mon Sep 17 00:00:00 2001
+From 26b14d36b941b7839d13f82d12a8ca569b718235 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Sun, 14 Jun 2026 17:42:19 +0200
Subject: [PATCH] src/intel/compiler/jay/jay_ir.h: do not used typed enum
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/compiler/jay/jay_ir.h b/src/intel/compiler/jay/jay_ir.h
-index 8307044..abf175a 100644
+index 3b819cb..34b8877 100644
--- a/src/intel/compiler/jay/jay_ir.h
+++ b/src/intel/compiler/jay/jay_ir.h
@@ -518,7 +518,7 @@ jay_type_is_any_float(enum jay_type t)
@@ -1,4 +1,4 @@
-From 2e41d846e6da26e73418d31b782f6b65eca48c45 Mon Sep 17 00:00:00 2001
+From 425aa8da2249c01f852fade871721e5e2f25555f Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Wed, 1 Jul 2026 22:48:15 +0200
Subject: [PATCH] src/util/u_math.c: do not use arm fpu instructions if fpu is
@@ -22,8 +22,8 @@ SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \
file://0001-addrlib-avoid-builtin_cpu_supports-for-avx2-detecti.patch \
"
-SRC_URI[sha256sum] = "efd4bb08cdb7c365a812cd4e6c9202ab55b2f22cdcd13c7d6c4f9647b799a4ef"
-PV = "26.2.0"
+SRC_URI[sha256sum] = "c47e81bddc4760360a41ac3c5acec38acb81f9d750ecef47e7f3adc7021a4442"
+PV = "26.2.1"
UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
https://docs.mesa3d.org/relnotes/26.2.1.html New features None Bug fixes RadeonSI VA-API: vertical color discontinuity / split on YouTube (AV1/VP9) with RX 7900 XTX Recording on AMD GPU using gpu-screen-recorder with VAAPI H.264 backend produces corrupted output since Mesa 26.0.0 Regression: HEVC hardware decoding (VA-API) fails with “invalid UVD command 5!” on Stoney Ridge (amdgpu) in Mesa 26+ V3D driver (Mesa) does not expose GL_EXT_shader_texture_lod, breaking raspberry Pi5 WebGL in Firefox (e.g. Google Maps with Street View) Witchfire - black artifacts [ANV][BMG] llama.cpp Flaky unit test results with latest Mesaï» on Arc B70 (Regression) [NVK/Kepler] NAK compiler panic in assign_regs.rs: “Failed to find free register” when launching wgpu application (Zed) [RADV] Insurgency Sandstorm - black Z-fighting geometry [meson] rust crate downloading for subbprojects blocked [radv] Anisotropic filtering glitch in Wolfenstein II: The New Colossus i915 GPU hang on Alder Lake-HX GT1 (8086:4688) with Mesa 26.2.0 OpenGL — works on 26.1.6 radeonsi/VCN: HEVC VAAPI encode corrupts P-frames on Van Gogh (gfx1033) since Mesa 26.0 — I-frames and H.264 unaffected radeonsi: black screen in picom after ae36b9e3459766a953fe6318545463f9a773d119 radeonsi: null-deref in validate_io() during glUseProgramStages on separable, SPIR-V-ingested program pipeline radv: vkCopyMemoryToImage segmentation fault with block-compressed formats when memoryRowLength is non-zero tu/anv: pDependencyInfos dereferenced as a single pointer instead of an array in CmdWaitEvents2 tu: assertions in tu_formats.cc: Assertion `fmt.fmt != FMT6_NONE’ failed Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- ...lib-avoid-builtin_cpu_supports-for-avx2-detecti.patch | 9 ++++----- ...freedreno-don-t-encode-build-path-into-binaries.patch | 9 +++------ ...01-meson-misdetects-64bit-atomics-on-mips-clang.patch | 2 +- ...ntel-compiler-jay-jay_ir.h-do-not-used-typed-en.patch | 4 ++-- ...til-u_math.c-do-not-use-arm-fpu-instructions-if.patch | 2 +- meta/recipes-graphics/mesa/mesa.inc | 4 ++-- 6 files changed, 13 insertions(+), 17 deletions(-)