Emilio Pozuelo Monfort pushed to branch debian-trixie at X Strike Force / lib / 
mesa


Commits:
c0113744 by Johannes Schauer Marin Rodrigues at 2025-09-29T11:39:00+02:00
panfrost: backport fix for segmentation fault on G52

Forwarded: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13191
Origin: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36261
Applied-Upstream: 
https://gitlab.freedesktop.org/mesa/mesa/-/commit/455b93601a19536bed7195b3fde8d7cf13a48e6a
Closes: #1116427

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/pan-genxml-Add-missing-parenthesis-on-pan_cast_and_p.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mesa (25.0.7-2+deb13u1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * panfrost: backport fix for segmentation fault on G52 (Closes: #1116427)
+
+ -- Johannes Schauer Marin Rodrigues <[email protected]>  Sat, 27 Sep 2025 
02:04:13 +0200
+
 mesa (25.0.7-2) unstable; urgency=medium
 
   * patches: Revert a commit to fix mobian vm's. (Closes: #1107895)


=====================================
debian/patches/pan-genxml-Add-missing-parenthesis-on-pan_cast_and_p.patch
=====================================
@@ -0,0 +1,30 @@
+From: Mary Guillemard <[email protected]>
+Date: Mon, 21 Jul 2025 16:17:34 +0200
+Subject: [PATCH] pan/genxml: Add missing parenthesis on pan_cast_and_pack
+ macros
+
+We were missing parenthesis on pan_cast_and_pack macros causing various
+issues.
+
+Signed-off-by: Mary Guillemard <[email protected]>
+Fixes: 410e5a36ec88 ("pan/genxml: Rework gen_pack.py to support OpenCL")
+Reviewed-by: Erik Faye-Lund <[email protected]>
+Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36261>
+Origin: 
https://gitlab.freedesktop.org/mesa/mesa/-/commit/455b93601a19536bed7195b3fde8d7cf13a48e6a
+Bug-Debian: https://bugs.debian.org/1116427
+
+--- a/src/panfrost/lib/genxml/pan_pack_helpers.h
++++ b/src/panfrost/lib/genxml/pan_pack_helpers.h
+@@ -98,10 +98,10 @@ __gen_padded(uint32_t v, uint32_t start,
+         }))
+ 
+ #define pan_cast_and_pack(dst, T, name)                                       
 \
+-   pan_pack((PREFIX2(T, PACKED_T) *)dst, T, name)
++   pan_pack((PREFIX2(T, PACKED_T) *)(dst), T, name)
+ 
+ #define pan_cast_and_pack_nodefaults(dst, T, name)                            
 \
+-   pan_pack_nodefaults((PREFIX2(T, PACKED_T) *)dst, T, name)
++   pan_pack_nodefaults((PREFIX2(T, PACKED_T) *)(dst), T, name)
+ 
+ #define pan_unpack(src, T, name)                                              
 \
+    UNUSED struct PREFIX1(T) name;                                             
 \


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ disable_ppc64el_assembly.diff
 etnaviv-add-support-for-texelfetch.patch
 Revert-hasvk-elk-stop-turning-load_push_constants-in.patch
 kopper-Revert-kopper-Explicitly-choose-zink.patch
+pan-genxml-Add-missing-parenthesis-on-pan_cast_and_p.patch



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/commit/c01137448d6fa8a3b3ec1a0d2539bcfb37c7b1f6

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/commit/c01137448d6fa8a3b3ec1a0d2539bcfb37c7b1f6
You're receiving this email because of your account on salsa.debian.org.


Reply via email to