| Message ID | 20260408181402.836793-1-a-christidis@ti.com |
|---|---|
| State | Under Review |
| Delegated to: | Ryan Eatmon |
| Headers | show |
| Series | [meta-ti,master] mesa-pvr: Add patch for gallium fix due to LLVM 22 | expand |
meta-ti / na / 20260408181402.836793-1-a-christidis
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] mesa-pvr: Add patch for gallium fix due to LLVM 22
- Submitter: From: <a-christidis@ti.com>
From: Antonios Christidis <a-christidis@ti.com>
+From: Alessandro Astone <ales.astone@gmail.com>
- Date: Date: Wed, 8 Apr 2026 13:14:02 -0500
+Date: Sun, 1 Mar 2026 18:14:09 +0100
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 0e64f20017dea7eff3f248d10f0d253ae19fbc47
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: conf: Add falcon support natively
- Commit SHA: a5b6752fa181248acc46c4411cf76259e4a07e63
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
WARN: .bbappend files might need a guard to make them check-layer compliant. (GUARD-1)
meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/ti-core-initramfs.bbappend
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Fix-armhf-build-against-LLVM-22.patch b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Fix-armhf-build-against-LLVM-22.patch new file mode 100644 index 00000000..dfa2e865 --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Fix-armhf-build-against-LLVM-22.patch @@ -0,0 +1,30 @@ +From 973dc32026c164d0c13f7f5bef36c8d1c2375973 Mon Sep 17 00:00:00 2001 +From: Alessandro Astone <ales.astone@gmail.com> +Date: Sun, 1 Mar 2026 18:14:09 +0100 +Subject: [PATCH] gallivm: Fix armhf build against LLVM 22 + +StringMapIterator<bool> became StringMapIterBase<bool, false /* IsConst */>; +Use `auto` to handle either case. + +Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40161] +Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> +--- + src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +index d3ad342..c95d86e 100644 +--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp ++++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +@@ -331,7 +331,7 @@ lp_build_fill_mattrs(std::vector<std::string> &MAttrs) + llvm::sys::getHostCPUFeatures(features); + #endif + +- for (llvm::StringMapIterator<bool> f = features.begin(); ++ for (auto f = features.begin(); + f != features.end(); + ++f) { + MAttrs.push_back(((*f).second ? "+" : "-") + (*f).first().str()); +-- +2.53.0 + diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb index 0b48bc15..8ec06800 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb @@ -19,6 +19,7 @@ SRC_URI = " \ file://0002-glxext-don-t-try-zink-if-not-enabled-in-mesa.patch \ file://0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch \ file://0001-Update-lp_bld_misc.cpp-to-support-llvm-19.patch \ + file://0001-gallivm-Fix-armhf-build-against-LLVM-22.patch \ " SRCREV = "7c82c1eebc67f5a62a347a84d42fe795cf7f523b"