Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / mesa


Commits:
6a24baee by Eric Engestrom at 2025-10-01T12:45:48+02:00
docs: add sha sum for 25.2.4

- - - - -
7b55d69a by Eric Engestrom at 2025-10-15T13:55:10+02:00
.pick_status.json: Update to 282e8285f1b0e2808dc2416f7274a85e39828cdf

- - - - -
31074077 by TellowKrinkle at 2025-10-15T13:55:10+02:00
hk: Enable caching on memory marked with HOST_CACHED_BIT

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37655>
(cherry picked from commit 05b927ac7e35db6ea8e661fda5415b1b0230a3c6)

- - - - -
7a87cc52 by Karol Herbst at 2025-10-15T13:55:11+02:00
libagx: fix heap argument type in libagx_draw_robust_index

Fixes: d339bf7a98e ("libagx: rename agx_geometry_state to agx_heap")
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Mary Guillemard <[email protected]>
Reviewed-by: Janne Grunau <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37690>
(cherry picked from commit 9f67cc1510f58f568a00e98c41d1b884a735501f)

- - - - -
cea965ee by Karol Herbst at 2025-10-15T13:55:11+02:00
clc: Fix createDiagnostics for LLVM-22

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13986
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Mary Guillemard <[email protected]>
Reviewed-by: Janne Grunau <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37690>
(cherry picked from commit 1db77d08e22e676bbc34e411313445868e9fd836)

- - - - -
4ea070a7 by Mauro Rossi at 2025-10-15T13:55:11+02:00
amd: require LLVM when amd-use-llvm is enabled

Commit 2aaa6ebb "build/amd: add amd-use-llvm build option"
allows to build radeonsi and radv without LLVM dependency
so LLVM constraint is applicable when amd-use-llvm=true

Fixes: 82047fa8 ("amd: drop support for LLVM 15, 16, 17")
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37695>
(cherry picked from commit dd2476a2574c13f40c72b916bd72c9570fe2bd45)

- - - - -
0e415e21 by Eric Engestrom at 2025-10-15T13:55:11+02:00
ci-tron: bump job template commit to get cached job templates

This also includes support for the new job cookie system, verifying that jobs
running originate from the claimed source. This is useful internally but won't
affect users, unlike the feature in the title :)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37609>
(cherry picked from commit c3957860b88f28e48816a48c87b9826548a059f8)

- - - - -
bec76318 by Rob Clark at 2025-10-15T13:55:11+02:00
freedreno: Disable explicit sync heuristic for Xwayland

Xwayland seems to mix implicit and explicit sync, depending on client
app.  This trips up the heuristic that disables implicit sync once it
starts seeing app using explicit sync.  This is not typical behavior,
so add a driconf override to disable the heuristic.

Fixes: 137cd3b0fa93 ("freedreno/drm: Move no_implicit_sync accounting")
Cc: mesa-stable
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37703>
(cherry picked from commit e60d34fa780579079372a064bc82e52155d0c18a)

- - - - -
c0f6c284 by Lionel Landwerlin at 2025-10-15T13:55:11+02:00
vulkan/render_pass: fixup renderpasses barriers for 2D views of 3D images

With maintenance9 enabled

Spec clarification : 
https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/7629

Fixes: 595889018a ("anv: implement VK_KHR_maintenance9")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13669
Reviewed-by: Alyssa Anne Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36624>
(cherry picked from commit f8cbc558db642ebefcbf78d78c936cdfe0b11f4a)

- - - - -
9dd8bf83 by Calder Young at 2025-10-15T13:55:11+02:00
isl: Fix noncoherent framebuffer fetch when base_level != 0

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37736>
(cherry picked from commit 2bfc62e82503ba25676cea6b07d6fb0e96fb7055)

- - - - -
45d54865 by Mike Blumenkrantz at 2025-10-15T13:55:11+02:00
zink: stop using vk lazy allocations / transient attachments

this doesn't actually work since it uses multiple renderpasses to do
the replicate operation

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37743>
(cherry picked from commit efe1926cf0aa00b8268ac305f2ff62f8fc8fa996)

- - - - -
eb3e0ff6 by Mike Blumenkrantz at 2025-10-15T13:55:11+02:00
zink: strip dmabuf bind flags when creating transient image

these enforce LINEAR tiling, which is broken with msaa

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37743>
(cherry picked from commit 3d90a95ad35c3a0f832a4b35430b513f551fa9f0)

- - - - -
7f6c25e8 by Mike Blumenkrantz at 2025-10-15T13:55:11+02:00
zink: always add mutable to transient surface creation when needed

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37743>
(cherry picked from commit 3cd3195d31961bf7f7e0743c22f14232b830e7b5)

- - - - -
b5217a4b by Tapani Pälli at 2025-10-15T13:55:11+02:00
intel/blorp: add restriction for gfx12

Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37731>
(cherry picked from commit e2697d717f95e0ebf4e5b5d8fb686d12bb230413)

- - - - -
a5c77b19 by Tapani Pälli at 2025-10-15T13:55:11+02:00
iris: add a check if blorp can support blitter copy

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13915
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37731>
(cherry picked from commit 5115d69f1c41f39d6932ffc90043a11be196d0a4)

- - - - -
9f16e4f1 by Tapani Pälli at 2025-10-15T13:55:11+02:00
anv: add cs stall for any pipe control on compute

Cc: mesa-stable
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37715>
(cherry picked from commit c15b8329fdfcd635b04315dd3ded31768c0e2fc4)

- - - - -
3f4a9197 by David Rosca at 2025-10-15T13:55:12+02:00
radeonsi/vpe: Fix transfer function mapping to vpelib

Cc: mesa-stable
Reviewed-by: Peyton Lee <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37759>
(cherry picked from commit d896c490df54f378b1cb38ed788901823c376bd2)

- - - - -
336595ba by Iago Toral Quiroga at 2025-10-15T13:55:12+02:00
panfrost: fix swapped stats for varing and position shaders

Fixes: 4da7b12000 ("panfrost: port to common stats framework")
Reviewed-by: Alejandro Piñeiro <[email protected]>
Reviewed-by: Mary Guillemard <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37757>
(cherry picked from commit 6ee8fafac11016ec4c8d92f4919252e4ae85f6a3)

- - - - -
42381cd0 by Natalie Vock at 2025-10-15T13:55:12+02:00
vulkan/bvh: Mark instances with NAN AABBs as inactive

They can never be hit, remove them from the BVH.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37492>
(cherry picked from commit 33099040a3e416bce98c3cbef1a031acc0ff78a0)

- - - - -
9d524bbd by Natalie Vock at 2025-10-15T13:55:12+02:00
radv/bvh: Encode empty AS bounds as NaN

If there are no leaves, the root node bounds still span -inf/inf.
Making empty BLASs infinite-sized guarantees ray traversal needs to
enter the BLAS (and immediately exit because it's empty). Remove the
BLAS from the BVH entirely by marking its bounds as NaN. As a bonus,
this works around RADV encountering issues in Silent Hill 2 on RDNA4 due
to infinite-sized BVHs.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37492>
(cherry picked from commit 52c7b0d20c88620fd55d21a62468211674559978)

- - - - -
0f5d8ed9 by Samuel Pitoiset at 2025-10-15T13:55:12+02:00
radv: reserve more CS space when executing DGC calls

This can trigger an assert otherwise. The space reserved before
executing DGC IBs is an arbitrary number which should be large enough
in all cases.

Found this while implementing descriptor heap.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37681>
(cherry picked from commit 874bc0953772eee519c48052cc81eb211917f09c)

- - - - -
8983040e by Samuel Pitoiset at 2025-10-15T13:55:12+02:00
radv: fix expected disk cache size for meta shaders

Math can go wrong.

If the disk cache size is too small, buckets are evicted and this
might cause stuttering when starting applications.

Fixes: 4fc856af98e ("radv: fix caching on-demand meta shaders")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13930
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37718>
(cherry picked from commit c177bf81b445af550f389f3bd4c35685d39325bd)

- - - - -
77818d0f by Mike Blumenkrantz at 2025-10-15T13:55:12+02:00
zink: only add mutable bind for transient surfaces when necessary

Fixes: 3cd3195d319 ("zink: always add mutable to transient surface creation 
when needed")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37767>
(cherry picked from commit 0ab8878a6e70a402ad082b2ddd6feff73d2c4290)

- - - - -
05253f45 by Mike Blumenkrantz at 2025-10-15T13:55:12+02:00
zink: disable msrtss handling when blitting

this avoids weirdness when e.g., flushing clears

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37767>
(cherry picked from commit 5080f2b6f552875818229c4810e0221e9264e9b4)

- - - - -
04ded204 by Mike Blumenkrantz at 2025-10-15T13:55:12+02:00
glsl: fix gl_ViewID_OVR type to uint

the spec defines this as a uint, and having it as an int breaks anyone
trying to actually use it

cc: mesa-stable

Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37766>
(cherry picked from commit 8f0ac427b350cc799b2aa8c0c086f307cafe1cdc)

- - - - -
5173ea17 by Mike Blumenkrantz at 2025-10-15T13:55:12+02:00
mesa: copy NumSamples in reuse_framebuffer_texture_attachment

this otherwise breaks msrtt

cc: mesa-stable

Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37766>
(cherry picked from commit 950459d95ff8c714dbcb4c2efbee9a878d5aba29)

- - - - -
e814c641 by José Roberto de Souza at 2025-10-15T13:55:12+02:00
anv/allocator: Change some parameters and variables from 32bit to 64bits

struct anv_state::offset and struct anv_block_pool::max_size are 64bits so these
parameters should also be 64bit or risk overflow.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37669>
(cherry picked from commit ad62911683793f5b93e1f1f8698e1f38cf4f2a7d)

- - - - -
8bc43f7c by José Roberto de Souza at 2025-10-15T13:55:12+02:00
anv/allocator: Don't call anv_block_pool_map() with an offset that includes 
start_offset

Only 3 pools sets a value different than zero to start_offset so that might be
a issue that was being hidden by luck.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37669>
(cherry picked from commit 4ca18c09c1b55eccfa8af6f4d15cab433ef94ea9)

- - - - -
d4fc0953 by José Roberto de Souza at 2025-10-15T13:55:13+02:00
anv/allocator: Subtract start_offset in chunk_offset

anv_state::offset in the context of anv_state_pool is equal to the offset from
the begining of block_pool + start_offset.
Like it is set in anv_state_pool_alloc_no_vg() in the path that allocs a new
block in anv_block_pool.

As anv_state_pool_return_chunk() expects only the offset from the begining of
anv_block_pool so here subtracting to make the path that grabs a larger chunk of
memory of the pool and split into smaler chunks to properly work.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37669>
(cherry picked from commit a90d8fc08ede85e3634991e41c40617e2e93ae1e)

- - - - -
7bd263c9 by Georg Lehmann at 2025-10-15T13:55:13+02:00
aco/optimizer: fix incorrect operand order assumption for neg(mul) opt

The code that labels instructions doesn't care about the order either.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14013
Cc: mesa-stable

Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37643>
(cherry picked from commit 9533e7cdae4722e306708624ace4226a6ab0dcdd)

[Eric: the backport includes an extra swap of two conditions, as
 recommended by Rhys to work around an issue with old compilers:
 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37643#note_3137704]

- - - - -
7e6440ca by Danylo Piliaiev at 2025-10-15T13:55:13+02:00
tu: Prevent GPU hang with occlusion query + certain depth state

This state combination wedges something in GPU causing hang.
Forcing A6XX_LATE_Z prevents it. Prop driver does the same.

CC: mesa-stable

Signed-off-by: Danylo Piliaiev <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37765>
(cherry picked from commit 02138d96fd311133df13db6099304d7dbbf8f95e)

- - - - -
69339397 by Yiwei Zhang at 2025-10-15T13:55:13+02:00
panvk: fix to clear FPK with incompatible blend modes

When there's only blend mode updates (e.g. CB_BLEND_EQUATIONS not
covered by fs_user_dirty check), we have to set dcd0_dirty for the
relevant CB updates. Otherwise, we might miss to clear FPK. On the
other hand, this also optimizes to set FPK in the reverse mutation, so
that new draws no longer depending on the previous tile buffer can
benefit from FPK.

Cc: mesa-stable
Reviewed-by: Lars-Ivar Hesselberg Simonsen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37760>
(cherry picked from commit 98a6825d350c414a9a553c269c082e96eb5a559e)

- - - - -
d3c86747 by Olivia Lee at 2025-10-15T13:55:13+02:00
vtn_bindgen2: use anonymous namespace to avoid name collisions

All vtn_bindgen2-generated files use the same 'vtn_bindgen_dummy' struct
name. When linking more than one file (like in panfrost), the
constructor and destructor symbols collide and every instance ends up
running the same initialization. In panfrost, this results in us
dropping any printf format strings that don't occur in v6.

Signed-off-by: Olivia Lee <[email protected]>
Fixes: b7447a94c83 ("vtn: add vtn_bindgen2 tool")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37798>
(cherry picked from commit d600cd4c9127626e92c1478957915ac94c5b44aa)

- - - - -
37263cfb by Lionel Landwerlin at 2025-10-15T13:55:13+02:00
anv: fix companion usage for emulated image

We need to return true if we need the companion batch.

Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: e60416b4e4 ("anv: use companion batch for operations with HIZ/STC_CCS 
destination")
Reviewed-by: Sagar Ghuge <[email protected]>
Reviewed-by: Lucas Fryzek <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37797>
(cherry picked from commit 196c7903b9a0305524d1d059b551071900fa6dfd)

- - - - -
9348cf80 by Hans-Kristian Arntzen at 2025-10-15T13:55:13+02:00
radv: Actually fail custom border color sampler creation.

Signed-off-by: Hans-Kristian Arntzen <[email protected]>
Fixes: a52483d9e72 ("radv: fix capture/replay with sampler border color")
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37787>
(cherry picked from commit 28489017221766d9de613941f2293ef6ad183a38)

- - - - -
2409e345 by Ashley Smith at 2025-10-15T13:55:13+02:00
panfrost,mesa: Fix versions for EXT_shader_realtime_clock

ES version was missed from extension table

Fixes: c5500cd1 ("mesa: Add support for GL_EXT_shader_realtime_clock")
Reviewed-by: Erik Faye-Lund <[email protected]>
Signed-off-by: Ashley Smith <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37794>
(cherry picked from commit 09d86f9863883cbb696c467e9cc339144ac34a93)

- - - - -
c673bf82 by Ashley Smith at 2025-10-15T13:55:13+02:00
panfrost,mesa: Fix versions for EXT_shader_clock

ES version was missed from extension table

Fixes: 2ce20170 ("mesa: Add support for GL_EXT_shader_clock")
Reviewed-by: Erik Faye-Lund <[email protected]>
Signed-off-by: Ashley Smith <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37794>
(cherry picked from commit a8fb3671e876f0218d54ff26050fc4faeb900b3e)

- - - - -
908a6b2b by Lionel Landwerlin at 2025-10-15T13:55:13+02:00
anv: fix query copy with shaders

First this is only possible on RCS or CCS engines.

Second if on CCS, we need to use a compute shader, 3D won't work.

Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: mesa-stable
Reviewed-by: Ivan Briano <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37818>
(cherry picked from commit febac6d9bd239df31207c657f6396cf63a7d9bf4)

- - - - -
be837114 by Lorenzo Rossi at 2025-10-15T13:55:13+02:00
nvk: Fix QMD buffer length on upload

Current code allocates the maximum QMD data for all generations and
uploads everything, even on generations where a smaller QMD buffer
suffices. This is not only wasteful, but actually crashes Kepler GPUs
due to complications with the QMD queue.

Only upload the useful bytes of the QMD buffer.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14070
Fixes: 0e268dad00c ("nvk: Allow for larger QMDs")
Signed-off-by: Lorenzo Rossi <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37815>
(cherry picked from commit b56b5b90f7d5471e1a6f70d0ee70df006cd834e6)

- - - - -
7c7f187f by Simon Perretta at 2025-10-15T13:55:13+02:00
pvr: amend num temps calculation when wg_size is not provided

Fixes: 7a32dc673ba ("pvr: add device info and functions for calculating ava...")
Signed-off-by: Simon Perretta <[email protected]>
Acked-by: Frank Binns <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37724>
(cherry picked from commit e7c409cd29b1c4e58627b04cd725932d1a181d41)

- - - - -
d675c21e by David Rosca at 2025-10-15T13:55:13+02:00
frontends/va: Fix parsing VP9 frame header

Fix parsing intra only frames with profile 0. Change type to
signed int and initialize default values for ref_deltas and
mode_deltas.

Cc: mesa-stable
Reviewed-by: Ruijing Dong <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37808>
(cherry picked from commit 6531f060dd75efe830e07a8c1f54a07818abf49c)

- - - - -
5463ea27 by Georg Lehmann at 2025-10-15T13:55:13+02:00
aco: fix global_atomic_swap offset overflow check

Fixes: d7dcd81c77e ("aco/gfx6: allow both constant and gpr offset for global 
with sgpr address")

Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37821>
(cherry picked from commit c13caa5e5fdcdf624687dfe56e35e329a24b757e)

- - - - -
2b76d8bb by Lucas Stach at 2025-10-15T13:55:14+02:00
etnaviv: fix YUV tiler blits

The YUV tiling blits are an internal copy into a shadow of the resource.
Thus they don't go through the external context blit hook anymore. Call
the YUV blit function from the two code paths that handle internal copies.

Fixes: d4780f03fca5 ("etnaviv: use direct BLT/RS blit hook for internal copies")
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37605>
(cherry picked from commit dce859a18303b36f3c5170d2b075d4ff27058444)

- - - - -
131f2c2a by Sagar Ghuge at 2025-10-15T13:55:14+02:00
Revert "intel: Always set Cube Face Enables for all surfaces."

This reverts commit bf15dc7a1bb6bcb33bac88705725a8e8c3207bb0.

All credit goes to Lionel, he spotted this difference. How much effort
went in for this god knows.

Closes: #12348 #12816 #12446 #12387 #12827 Related #12847 #12520
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37498>
(cherry picked from commit 77d2197c185316a735c5994e4fe53d18598cd252)

- - - - -
649cd492 by Samuel Pitoiset at 2025-10-15T13:55:14+02:00
vulkan/runtime: fix memleak when creating ETC pipelines

NIR must be freed.

Found with ASAN.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37844>
(cherry picked from commit ddef2c1559c0c5ab13b94d4787e33badb3034135)

- - - - -
8b8fdc5a by Samuel Pitoiset at 2025-10-15T13:55:14+02:00
radv/rt: fix memory leak in lower_rt_instructions_monolithic()

Found with ASAN.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37844>
(cherry picked from commit 876e6a3bfe2a40ba781dd6182f3525122e8cb28c)

- - - - -
a2e7a1be by Samuel Pitoiset at 2025-10-15T13:55:14+02:00
radv: fix shaders memleak when importing pipeline binaries with GPL

The implementation must use the data in VkPipelineBinaryInfoKHR when
provided instead of importing binaries from libraries.

This fixes a memleak with shaders found with ASAN.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37844>
(cherry picked from commit e982f6e2c8a545c8f99fdc8afff11d3d880c29a4)

- - - - -
5eb46a78 by Benjamin Cheng at 2025-10-15T13:55:14+02:00
vulkan/query_pool: Store video encode feedback

Drivers need to track which feedback bits were set at creation time to
output the correct things in vkGetQueryPoolResults().

Cc: mesa-stable
Reviewed-by: David Rosca <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37774>
(cherry picked from commit c17dfcd74519dddb4df6316d856ae8331d4a8354)

- - - - -
273232ab by Benjamin Cheng at 2025-10-15T13:55:14+02:00
radv: Output requested encode query results only

Video encode feedback queries have a configurable set of feedback bits,
specified in VkQueryPoolVideoEncodeFeedbackCreateInfoKHR::encodeFeedbackFlags.
Only the bits specified should be output when retrieving results.

Fixes: 1d74661dfd6 ("radv: add encoder queue support pieces and encoder 
queries.")
Reviewed-by: David Rosca <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37774>
(cherry picked from commit c8093e6cb150e6dff58da5d7f3e5b2ca80e02fdc)

- - - - -
0a491ccf by Yiwei Zhang at 2025-10-15T13:55:14+02:00
panvk: allow panvk_pool_alloc_mem to use full slab_size

We waste the last chunk if the last alloc happen to match the size.

Cc: mesa-stable
Reviewed-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37861>
(cherry picked from commit dcd2a9941529863c23cfb50c967f21ac044b98a1)

- - - - -
71dc6ddf by Erik Faye-Lund at 2025-10-15T13:55:14+02:00
aux/pp: release correct sampler-views

arr[0] and arr[1] aren't really the two allocated sampler views any more
at this point. To make it possible to reason about these pointers,
assign the created objects to speparate pointers, so we can free them
from those instead of having to track which array indices they're stored
in.

Fixes: 73da0dcddcb ("gallium: eliminate frontend refcounting from samplerviews")
Reviewed-by: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37839>
(cherry picked from commit fe82d978832d9ddc675ededd2183ac11ad93ea17)

- - - - -
d17b3665 by Daniel Schürmann at 2025-10-15T13:55:14+02:00
nir/divergence: don't assume that load_sample_positions_amd is always uniform

Sample positions aren't uniform when the sample id is divergent.
This was a regression when we started lowering fragment shader
barycentrics in NIR.

Fixes: 7f444fc72c76 ("nir: add nir_intrinsic_load_sample_positions_amd")
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37843>
(cherry picked from commit fad10b91a6c0707d13f1b6fea882baffaa1ca2ef)

- - - - -
293a2613 by Dmitry Baryshkov at 2025-10-15T13:55:14+02:00
glx: provide glx.pc

New Vulkan CTS 1.4.4 started requiring glx.pc pkg-config file. Provide
one if GLVND is not used in order to let VK CTS and other programs find
Mesa GLX implementation.

Cc: mesa-stable
Signed-off-by: Dmitry Baryshkov <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37834>
(cherry picked from commit 681c734804b1dd251606792be4187942dc9ee180)

- - - - -
33d10023 by Faith Ekstrand at 2025-10-15T13:55:14+02:00
nil: Add a GOB_TYPE_MODIFIER_INFOS table

Instead of a bunch of switches which have to match, this introduces a
table which we can use to map bidirectionally from GOBType to
(GOBKindVersion, SectorLayout).

Backport-to: 25.2
Reviewed-by: James Jones <[email protected]>
Reviewed-by: Mohamed Ahmed <[email protected]>
Reviewed-by: Mary Guillemard <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37824>
(cherry picked from commit 8a758fd38a85150834b03136f3fd66d05f65b947)

- - - - -
69863ef4 by Eric Engestrom at 2025-10-15T13:55:14+02:00
.pick_status.json: Mark 6f241b7f6afefe38d4d7610cf0237c91ca3806b0 as denominated

- - - - -
b460eb1c by Pierre-Eric Pelloux-Prayer at 2025-10-15T13:55:14+02:00
tc: prevent flush of incomplete batches

tc_reserve_set_vertex_elements_and_buffers_call slots data are only valid
after the call to tc_set_vertex_elements_for_call.

If a batch flush occurs between these 2 calls, random memory will be read
leading to crashes.

The only user of tc_reserve_set_vertex_elements_and_buffers_call being
st_update_array_templ, we can determine that only 2 tc_buffer_unmap calls
can be inserted, so we reserve slots for them.

Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37763>
(cherry picked from commit 9296478a1525a33ed25c74c7cf6c8c284b18ecf1)

- - - - -
ae68a88b by Eric Engestrom at 2025-10-15T17:54:59+02:00
docs: add release notes for 25.2.5

- - - - -
84c1064e by Eric Engestrom at 2025-10-15T17:54:59+02:00
VERSION: bump for 25.2.5

- - - - -


65 changed files:

- .gitlab-ci.yml
- .pick_status.json
- VERSION
- docs/relnotes.rst
- docs/relnotes/25.2.4.rst
- + docs/relnotes/25.2.5.rst
- meson.build
- src/amd/compiler/aco_optimizer.cpp
- src/amd/compiler/instruction_selection/aco_select_nir_intrinsics.cpp
- src/amd/vulkan/bvh/encode.comp
- src/amd/vulkan/bvh/encode_gfx12.comp
- src/amd/vulkan/nir/radv_nir_rt_shader.c
- src/amd/vulkan/radv_cmd_buffer.c
- src/amd/vulkan/radv_physical_device.c
- src/amd/vulkan/radv_pipeline_graphics.c
- src/amd/vulkan/radv_query.c
- src/amd/vulkan/radv_sampler.c
- src/asahi/libagx/draws.cl
- src/asahi/vulkan/hk_device_memory.c
- src/compiler/clc/clc_helpers.cpp
- src/compiler/glsl/builtin_variables.cpp
- src/compiler/nir/nir_divergence_analysis.c
- src/compiler/spirv/vtn_bindgen2.c
- src/freedreno/drm/freedreno_device.c
- src/freedreno/drm/freedreno_drmif.h
- src/freedreno/drm/freedreno_priv.h
- src/freedreno/drm/freedreno_ringbuffer_sp.c
- src/freedreno/vulkan/tu_cmd_buffer.cc
- src/gallium/auxiliary/postprocess/pp_mlaa.c
- src/gallium/auxiliary/util/u_threaded_context.c
- src/gallium/auxiliary/util/u_threaded_context.h
- src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
- src/gallium/drivers/freedreno/driinfo_freedreno.h
- src/gallium/drivers/freedreno/freedreno_screen.c
- src/gallium/drivers/iris/iris_blit.c
- src/gallium/drivers/panfrost/pan_shader.c
- src/gallium/drivers/radeonsi/si_vpe.c
- src/gallium/drivers/zink/zink_context.c
- src/gallium/drivers/zink/zink_resource.c
- src/gallium/drivers/zink/zink_surface.c
- src/gallium/frontends/va/picture_vp9.c
- src/gallium/include/pipe/p_video_state.h
- src/glx/meson.build
- src/imagination/include/hwdef/rogue_hw_utils.h
- src/intel/blorp/blorp_blit.c
- src/intel/isl/isl_surface_state.c
- src/intel/vulkan/anv_allocator.c
- src/intel/vulkan/anv_blorp.c
- src/intel/vulkan/anv_private.h
- src/intel/vulkan/genX_cmd_buffer.c
- src/intel/vulkan/genX_query.c
- src/mesa/main/extensions_table.h
- src/mesa/main/fbobject.c
- src/mesa/state_tracker/st_atom_array.cpp
- src/nouveau/nil/modifiers.rs
- src/nouveau/vulkan/nvk_cmd_dispatch.c
- src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c
- src/panfrost/vulkan/panvk_mempool.c
- src/util/00-mesa-defaults.conf
- src/util/driconf.h
- src/vulkan/runtime/bvh/leaf.h
- src/vulkan/runtime/vk_query_pool.c
- src/vulkan/runtime/vk_query_pool.h
- src/vulkan/runtime/vk_render_pass.c
- src/vulkan/runtime/vk_texcompress_etc2.c


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/ab462ae6b7064ed63b8c94f31d5e3be60dcfede6...84c1064eef19ee05a7f7f41ddaa4df830973fad7

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


Reply via email to