Mary Guillemard
0aff4433e7
hk: Move query pool creation/destruction
...
We are going to wire VK_QUERY_POOL_CREATE_RESET_BIT_KHR next, let's move
things after host_zero_queries.
Signed-off-by: Mary Guillemard <mary@mary.zone >
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37380 >
2025-09-16 17:36:58 +00:00
Mary Guillemard
9cc639efd9
docs/features: Mark VK_KHR_maintenance9 as done for ANV
...
Seems that it was missing from the initial MR.
Also fix ordering of drivers on that line.
Signed-off-by: Mary Guillemard <mary@mary.zone >
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37380 >
2025-09-16 17:36:57 +00:00
Connor Abbott
5511cdf2aa
freedreno: Don't program non-context reg with CRB
...
PC_UNKNOWN_9E72 is a non-context reg, and the weird hangs without
duplicating a reg writes was due to using CP_CONTEXT_REG_BUNCH with it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37415 >
2025-09-16 16:45:32 +00:00
Rob Clark
0a1f56fb90
freedreno/devices: Update chicken bits
...
b22 should be set on all a7xx.
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37411 >
2025-09-16 16:21:42 +00:00
Christoph Pillmayer
a8ff0176de
pan/bi: Normalize with pan_model.rates
...
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Christoph Pillmayer
f091bdf392
pan: Lift pan_get_model into its own lib
...
The following commit needs to use it from panfrost/compiler. But compiler
depends itself on panfrost/lib.
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Christoph Pillmayer
411a61cd88
pan/clc: Wire up gpu_variant to pan_compile_inputs
...
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Christoph Pillmayer
21ba69940c
panvk: Wire up gpu_variant to pan_compile_inputs
...
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Christoph Pillmayer
59ac9b4c9e
panfrost: Wire up gpu_variant to pan_compile_inputs
...
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Christoph Pillmayer
7e914e7bff
pan: Add gpu variant to compile inputs
...
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37231 >
2025-09-16 15:54:48 +00:00
Eric Engestrom
95f549007a
doc/features.txt: add missing supported lvp extensions
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37400 >
2025-09-16 15:13:31 +00:00
Yonggang Luo
e1b1e52529
etnaviv: The relative path to build dir is not always valid, fix it
...
Use relative to source file location instead.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37390 >
2025-09-16 14:59:48 +00:00
Eric Engestrom
974a79074b
doc/features.txt: add missing supported tu extensions
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37402 >
2025-09-16 12:28:43 +00:00
Eric Engestrom
9e8e1d7515
doc/features.txt: add missing supported anv extensions
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37399 >
2025-09-16 12:23:05 +00:00
Eric R. Smith
475222b022
glcpp: prevent accidental token pasting
...
Explicit token pasting is handled specially, but the token
printing code can accidentally paste identifiers. Check for
this accidental pasting and prevent it by inserting a space
if necessary.
Supersedes a similar but much more limited test to prevent pasting
`+` and `-` to make `++` and `--`.
A test is provided in glcpp/tests/150-token-accidental-concatenation.
The accidental pasting test in 068-accidental-pasting is also updated
to cover some of the other cases.
Signed-off-by: Eric R. Smith <eric.smith@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37214 >
2025-09-16 11:27:43 +00:00
Mary Guillemard
6d00e95b2e
panvk: Take VK_DEPENDENCY_ASYMMETRIC_EVENT_BIT_KHR into account
...
VK_DEPENDENCY_ASYMMETRIC_EVENT_BIT_KHR makes vkCmdSetEvent2 behaves like
vkCmdSetEvent, let's handle that appropriately.
This fixes failures on VKCTS main with
"dEQP-VK.synchronization2.op.single_queue.event.*_maintenance9".
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Fixes: b8ccbc414a ("panvk: enable KHR_maintenance9")
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37396 >
2025-09-16 11:09:17 +00:00
Mary Guillemard
9dcc7c0d0a
panvk: Fix wrong type for sb_mask in CmdSetEvent2
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Fixes: f8598e599e ("panvk: Add VkEvent support to the CSF backend")
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37396 >
2025-09-16 11:09:17 +00:00
Mary Guillemard
664a83e413
pan/decode: Fix SYNC_SET32 double dots
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Fixes: 3778df8778 ("pan/decode: Untangle CS disassembling and interpretation")
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37396 >
2025-09-16 11:09:17 +00:00
Mary Guillemard
4aebb4227a
panvk/ci: Update waivered tests
...
Those are new tests present on current VKCTS main and that are also part
of waivers.xml.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37396 >
2025-09-16 11:09:17 +00:00
Robert Mader
45dc8b4d97
kms-dri-sw: Report linear modifiers in get_handle()
...
Dumb-buffers or imported dmabufs are always linear - otherwise they
couldn't be used by llvmpipe/lavapipe. So far, however, they have been
implicitly reported as DRM_FORMAT_MOD_INVALID when queried through e.g.
`gbm_bo_get_modifier()`.
That is a problem for lavapipe, which requires explicit modifiers. Thus
report modifiers as linear, fixing clients like Westons Vulkan backend
on CI (vkms+lavapipe).
Signed-off-by: Robert Mader <robert.mader@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37374 >
2025-09-16 10:45:02 +00:00
Zhou Qiankang
b0528bcab1
anv: Use os_get_page_size for mmap offset alignment to work with page size other than 4K
...
Instead of hardcoding 4096-byte page size in bo mapping/unmapping logic,
use os_get_page_size() to determine the correct alignment for munmap()
offset adjustments and address assertions.
Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37389 >
2025-09-16 10:25:56 +00:00
Pierre-Eric Pelloux-Prayer
eaeff6ba0e
radeonsi/sqtt: update the shader after scratch config
...
scratch_buffer is updated in si_update_spi_tmpring_size, so it must
be done before we swap the shaders.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37332 >
2025-09-16 09:55:26 +00:00
Georg Lehmann
714a149396
nir: remove unsigned upper bound config
...
All config information is now either in nir->info or nir->options.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37361 >
2025-09-16 09:24:04 +00:00
Georg Lehmann
bb67dae12d
nir/uub: remove max_workgroup_size from config
...
For most hardware, this is the same as max invocations in the workgroup.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37361 >
2025-09-16 09:24:04 +00:00
Georg Lehmann
f3c08c9d27
nir/uub: use shader_info subgroup size
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37361 >
2025-09-16 09:24:04 +00:00
Georg Lehmann
112e160946
nir/uub: remove vertex input handling
...
Unused since radv started lowering vertex inputs in NIR.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37361 >
2025-09-16 09:24:04 +00:00
Georg Lehmann
d029686e20
aco/isel: fix output args init stack buffer overflow
...
BITSET range functions include the end of the range.
Fixes: eb249bb18e ("aco: Only fix used variables to registers")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37361 >
2025-09-16 09:24:03 +00:00
Tapani Pälli
72f2565fc9
egl: allocate device info lazily only when queried
...
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13746
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36998 >
2025-09-16 08:51:31 +00:00
Erik Faye-Lund
17a17c3f89
panvk: do not export needless symbols
...
This might be a bit overly careful, but it seems like a good idea to use
both mechanisms to avoid accidental symbol leakage. I also don't think
it matters much in practice, because all sane applications use the the
Vulkan loader, and that shouldn't forward these symbols anyway.
While we're at it, let's wire up a test so we notice if this stops
working.
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37371 >
2025-09-16 08:15:33 +00:00
Lionel Landwerlin
a69853ce5e
brw: improve eot_reg computation in register allocate
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: c4c7ff3f8f ("brw: enable register allocation to deal with multiple EOTs")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37326 >
2025-09-16 07:49:07 +00:00
Lionel Landwerlin
1f86a4ee37
brw: remove unused RT write code
...
With 4fda724fd4 ("brw: Avoid invalid access when compacting
out-of-bounds JIP/UIP") this stuff isn't needed anymore.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: fe38fb858c ("brw: workaround broken indirect RT messages on Gfx11")
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37326 >
2025-09-16 07:49:07 +00:00
nihui
849344dc08
aco: set program->dev.fused_mad_mix=true for GFX940
...
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35655 >
2025-09-16 07:02:32 +00:00
nihui
8c4f0b1353
aco: gfx940 has no mad f32 instruction
...
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35655 >
2025-09-16 07:02:32 +00:00
Valentine Burley
37bea3fea7
ci: Uprev ci-templates to pull in new helpers
...
This isn’t related to the Debian update, but this is a good opportunity
to uprev ci-templates as well since we’re rebuilding all the containers
anyway.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
2260681572
ci/android: Use aapt from Debian packages again
...
The package in trixie is new enough to use again.
This reverts commit c9a8e1f49a .
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
8803388d15
ci: Update to Debian 13 (trixie)
...
Switch containers from Debian 12 (bookworm) to Debian 13 (trixie).
Trixie ships LLVM 19 by default, so we no longer need to add LLVM repos
to install llvm-19.
Notably, trixie also uses Python 3.13.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6994
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
36ad57c729
ci: Bump ci-kdl version for compatibility with Debian 13
...
The updated Python requirements allow installing with python3.13 on
Debian 13.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
31a8985ead
ci/va: Bump va-tools version for compatibility with Debian 13
...
Fixes previously failing CreateSurfaces tests.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
a9dbb5bd81
ci/lava: Update fire for compatibility with Debian 13
...
Bump `fire` from 0.5.0 to 0.7.0. The newer version removes the dependency
on the deprecated `pipes` module, which was removed in Python 3.13.
This fixes the LAVA tests in the `yaml-toml-shell-py-test` job when
running on Debian 13.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Valentine Burley
f96f47884c
ci/mold: Bump version for compatibility with Debian 13
...
And move the image tag header up while we're here.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
596910dd98
ci/vkd3d: Disable Werror for vkd3d-proton
...
These warnings were causing the arm64 build to fail:
../../vkd3d-proton-src/libs/vkd3d/command.c: In function 'd3d12_shared_fence_set_native_sync_handle_on_completion_explicit':
../../vkd3d-proton-src/libs/vkd3d/command.c:1772:27: error: assignment to 'const uint64_t *' {aka 'const long unsigned int *'} from incompatible pointer type 'UINT64 *' {aka 'long long unsigned int *'} [-Wincompatible-pointer-types]
1772 | wait_info.pValues = &value;
| ^
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
5c59ec4d85
ci/skqp: Add missing include to fix compilation errors on Debian 13
...
Include <cstdint> to fix these compilation errors:
../../src/sksl/SkSLString.h:124:18: error: unknown type name 'uint32_t'
124 | String to_string(uint32_t value);
| ^
../../src/sksl/SkSLString.h:128:18: error: unknown type name 'uint64_t'
128 | String to_string(uint64_t value);
| ^
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
1717845a65
ci/gfxreconstruct: Bump version for compatibility with Debian 13
...
And add the usual image tag header while we're here.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
44d161a7a0
lavapipe/ci: Disable stack-use-after-return detection for ASan
...
Disable detection to match Debian 12 ASan behaviour and prevent a large
number of newly crashing tests on Debian 13.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
b16c62b6b2
meson: Relax -Wmaybe-uninitialized errors
...
Suggested-by: @eric
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
ee56aed92d
util: Disable Werror for BLAKE3
...
Avoid treating warnings as errors in the third-party BLAKE3 code.
Suggested-by: @eric
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:20 +00:00
Valentine Burley
8d2bb19c63
util: Update BLAKE3 from 1.5.1 to 1.8.2
...
Steps for uprev:
- copy files from BLAKE3/c src/util/blake3/
- edit README
- `for file in *.asm; do mv "$file" "${file%.asm}.masm"; done`
- keep
- blake3.h (no relevant changes), only change BLAKE3_VERSION_STRING
- blake3_sse2_x86-64_unix.S (no changes)
- blake3_avx512_x86-64_unix.S (no changes)
- blake3_sse41_x86-64_unix.S (no changes)
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:19 +00:00
Valentine Burley
92623d2447
imgui: Silence build warnings for imgui
...
Avoid treating any warnings as errors in the third-party imgui code, and
use Wno-error=stringop-overflow for code in Mesa.
Suggested-by: @eric
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:19 +00:00
Valentine Burley
dd1bc6c9a8
imgui: Mark imgui dependencies as system includes
...
Suggested-by: @eric
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:19 +00:00
Valentine Burley
57334b9cf1
r300/compiler: Silence array-bounds warning
...
Suggested-by: @eric
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:19 +00:00