Eric Engestrom
9d7bd8e78d
radv/ci: document flakes seen over the last week
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35432 >
2025-06-10 13:58:25 +00:00
Pohsiang (John) Hsu
f30214c1ef
mediafoundation: periodic clang-format
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35413 >
2025-06-10 13:42:24 +00:00
Sil Vilerino
f514fd80b6
mediafoundation: Pass the frame stats buffers to the gallium driver
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35413 >
2025-06-10 13:42:24 +00:00
Sil Vilerino
a92a24d845
mediafoundation: Cleanup comments/dead code
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35413 >
2025-06-10 13:42:24 +00:00
Sil Vilerino
9f4768c37d
mediafoundation: Remove WIL dependency, use std elements instead
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35413 >
2025-06-10 13:42:24 +00:00
Pohsiang (John) Hsu
0023a97576
mediafoundation: Disable level check to unblock 8K x 8K HEVC encode for now.
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com >
Reviewed-by: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35413 >
2025-06-10 13:42:23 +00:00
Konrad Dybcio
639d7946c7
freedreno: Add initial A702 support
...
A702 has been used in Qualcomm QCM2290 / QRB2210 as well as in Qualcomm
SW5100 (SmartWatch).
Co-developed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Co-developed-by: Craig Stout <cstout@google.com >
Co-developed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Co-developed-by: Rob Clark <rob.clark@oss.qualcomm.com >
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34867 >
2025-06-10 13:19:16 +00:00
Rob Clark
130972c52f
freedreno/fdl: Add fd6_texture_format_supported()
...
Helper so we can deal with special cases where a device adds/
removes format support.
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34867 >
2025-06-10 13:19:16 +00:00
Sid Pranjale
30de94b91d
vulkan/wsi: add cached bit to wsi host memory selection
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34247 >
2025-06-10 12:55:09 +00:00
Christoph Pillmayer
223945721b
panvk: Manually flush loads in panvk_cmd_draw_indirect
...
The ls_tracker will re-emit the WAIT for cs_load32_to(..attrib_offset..)
since it is only used in one branch of an if-else below. Thus, it is
better to manually flush it before.
Fixes: f75569734e (panvk: Remove explicit LS waits)
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35425 >
2025-06-10 12:34:31 +00:00
Christoph Pillmayer
c106fcf284
panvk: Use ls_tracker in cs_if_else
...
For cs_if_else the ls_tracker needs to be setup such that the loads and
stores of both branches are accounted for separately.
Fixes: f75569734e (panvk: Remove explicit LS waits)
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35425 >
2025-06-10 12:34:31 +00:00
Karol Herbst
13e47cde01
iris: implement SVM interfaces
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35174 >
2025-06-10 12:17:39 +00:00
Karol Herbst
a34a8fc0cd
iris: implement resource_get_address
...
Acked-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35174 >
2025-06-10 12:17:39 +00:00
Karol Herbst
006eca8b3c
rusticl/mesa: catch invalid use of resource_assign_vma in debug builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35174 >
2025-06-10 12:17:39 +00:00
Karol Herbst
a482ec7f05
clc: fix DiagnosticOptions related build failure with llvm-21
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13257
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35399 >
2025-06-10 13:16:29 +02:00
Karol Herbst
392ad203eb
clc: use new createTargetMachine overload with llvm-21
...
The old one is deprecated, so let's move and silence the warning.
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35399 >
2025-06-10 13:16:16 +02:00
Erik Faye-Lund
564e8a9a0b
panfrost: remove surface create/destroy hooks
...
These should be unused now, let's get rid of them.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35338 >
2025-06-10 09:06:50 +00:00
Samuel Pitoiset
6fac587aa2
radv: use 32 bytes descriptor for sampled/input attachment images on GFX11+
...
FMASK has been removed since GFX11+ and using 32 bytes can save a lot
of memory.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19621 >
2025-06-10 08:49:09 +00:00
Samuel Pitoiset
2797efb12d
radv: remove dead code in radv_CreateDescriptorSetLayout()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19621 >
2025-06-10 08:49:09 +00:00
Valentine Burley
b25135c7a9
ci/android: Use DEQP_ANDROID_EXE for GLES CTS
...
The new GLES CTS 3.2.12.0 release allows using DEQP_ANDROID_EXE for EGL
testing on Android.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34321 >
2025-06-10 07:56:46 +00:00
Valentine Burley
5ee7a4c1e9
ci: Uprev GL & GLES CTS
...
Update to the newest releases.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13076
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34321 >
2025-06-10 07:56:46 +00:00
Georg Lehmann
f36ac8434c
aco: add a readme entry for v_pk_cvt_u8_f32
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35391 >
2025-06-10 07:32:05 +00:00
Georg Lehmann
94c191e6d9
aco: remove p_v_cvt_pk_u8_f32
...
Now unused.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35391 >
2025-06-10 07:32:04 +00:00
Georg Lehmann
d95e90ab5f
aco: do not use v_cvt_pk_u8_f32 for f2u8
...
The ISA docs don't mention this, but instead of always truncating
like other integer conversions, this opcode actually uses the single
precision rounding mode.
We could continue to use the opcode and set the rounding mode to rtz
in lower_to_hw_instrs, but I think I should just concede that f2u8
isn't worth the effort.
Fixes: 9bb10b58 ("aco: use v_cvt_pk_u8_f32 for f2u8")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35391 >
2025-06-10 07:32:04 +00:00
Lionel Landwerlin
07c2b90e25
ci: add intel format emulation testing
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35383 >
2025-06-10 07:16:27 +00:00
Sushma Venkatesh Reddy
a796b4a0d2
intel/tools: Reflect SIMD lane count for EUs in device info output
...
Update the device info output to display EU count together with the native
SIMD width. This clarifies the SIMD width of execution units and explains
differences in EU counts between hardware generations.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35116 >
2025-06-10 06:55:27 +00:00
Valentine Burley
519ecf372d
radv/ci: Add a pre-merge vkd3d job on Raven
...
Introduce a new, pre-merge vkd3d-proton job on Raven.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:10 +00:00
Valentine Burley
9fae52a19c
ci/init-stage1: Add /dev/fd symlink
...
Create a symlink from /dev/fd to /proc/self/fd if /dev/fd is missing.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:10 +00:00
Valentine Burley
15b6967154
ci/lava: Remove vkd3d-proton from the core rootfs
...
Remove the /vkd3d-proton directories from the core LAVA rootfs archive
and upload vkd3d-proton as a separate archive for use as an optional LAVA
overlay.
This reduces the size of the core lava-rootfs tarball and ensures
vkd3d-proton is only deployed when the job needs it.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:10 +00:00
Valentine Burley
2b7ddc7d71
ci/vkd3d: Use structured tagging for vkd3d-proton
...
Structured tagging captures a checksum of the component we think we're
building, and verifies this through the chain.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:10 +00:00
Valentine Burley
84bee4571c
ci/fluster: Move build-time check into GitLab log section
...
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:09 +00:00
Valentine Burley
48d1933fab
ci/deqp: Use curl-with-retry helper
...
Use the new helper to avoid intermittent network issues.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:09 +00:00
Valentine Burley
0ccfa323bc
ci: Add and use find_s3_project_artifact (and curl-with-retry) helpers
...
Introduce find_s3_project_artifact (and curl-with-retry) helpers to
simplify locating S3 artifacts across upstream mesa/mesa and forks.
Use these helpers in the Fluster build process and for fetching LAVA
rootfs artifacts.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:09 +00:00
Valentine Burley
7537f0f42b
lima/ci: Remove redundant FDO_HTTP_CACHE_URI
...
For LAVA, LAVA_HTTP_CACHE_URI is used for the caching proxy.
Adding FDO_HTTP_CACHE_URI can cause find_s3_project_artifact to fail.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167 >
2025-06-10 06:33:08 +00:00
Samuel Pitoiset
d98533630b
radv: stop using multiview with DGC
...
DGC doesn't support multiview. The Vulkan spec says:
"VUID-vkCmdExecuteGeneratedCommandsEXT-None-11062
If a rendering pass is currently active, the view mask must be 0."
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35342 >
2025-06-10 06:15:00 +00:00
Faith Ekstrand
31f248b382
nvk: Set memory windows in engine init
...
There's no reason to re-set them on every queue state dirty. They're
fixed from the dawn of time.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35356 >
2025-06-10 04:36:40 +00:00
Faith Ekstrand
e814fc16ff
nvk: Use an nvk_mem_stream for nvk_queue_push()
...
Importantly, this makes nvk_queue_push() no longer stall waiting on the
GPU so we can use it more freely.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35356 >
2025-06-10 04:36:40 +00:00
Faith Ekstrand
3470cd7568
nvk/queue: Rename submit_simple() to push()
...
Also, make it take an nv_push for ease of use.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35356 >
2025-06-10 04:36:40 +00:00
Faith Ekstrand
fdec18dfa5
nvk/upload_queue: Use an nvk_mem_stream internally
...
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35356 >
2025-06-10 04:36:40 +00:00
Faith Ekstrand
e206962409
nvk: Add an nvk_mem_stream struct
...
This is based on nvk_upload_heap but with a different interface and
minor changes to deal with those differences.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35356 >
2025-06-10 04:36:40 +00:00
Marek Olšák
a35a12dd38
radeonsi: fix AMD_DEBUG=usellvm
...
It did nothing for streamout and blits.
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
906b2b36ee
radeonsi: don't refer to removed GTF CTS tests
...
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
3d504ee844
radeonsi: remove a non-trivial optimization that doesn't do much
...
It only caused some optimized shader variants to not be compiled in very
rare cases. I think it doesn't happen in practice, but if it does, it's
not a big deal.
The case when this was useful was when a shader wrote (0,0,0,0) or
(0,0,0,1) or (1,1,1,0, or (1,1,1,1) to a shader output before PS,
but PS didn't use the output.
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
edd2fc3c7f
radeonsi: use AC_EXP_PARAM_UNDEFINED for clarity
...
The code was slightly confusing.
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
de9eee7700
radeonsi: support 8 instead of 6 clip planes with gl_ClipVertex
...
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
8ea7d32570
radeonsi: restructure si_emit_clip_regs
...
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Marek Olšák
447d744833
ac/llvm: allocate LLVM PS output variables on demand
...
This stops relying on si_shader_info, allowing further cleanup of
si_shader_info.
radv_load_output was unused.
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35392 >
2025-06-10 03:31:20 +00:00
Faith Ekstrand
6b2331d5f7
nvk: Use an nvk_arena for nvk_descriptor_table
...
This gives descriptors a consistent base address and lets us stop doing
the memory reference counting dance for queue state management. We
still need to track sizes so that the GPU doesn't read outside the arena
but that's a lot simpler.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35327 >
2025-06-09 23:08:06 +00:00
Faith Ekstrand
ec148e9cdc
nvk/descriptor_table: Add a couple new helpers
...
This cleans up the code a bit, de-duplicates, and makes locking easier
to understand.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35327 >
2025-06-09 23:08:06 +00:00
Faith Ekstrand
9e52e296f7
nvk/heap: Use an nvk_mem_arena
...
The only material change here is that we're now allocating slightly less
memory every time in the non-contiguous case. Instead of allocating a
power of two plus the over-allocation so our total usable space is a
power of two, we now allocate a power of two and just let the over-
allocation burn space.
This also reworks the internal vma_heap to use actual addresses instead
of the index+offset packed things. This costs us a tiny bit more
looking up the map in alloc() but we save it again on free so there's no
real loss here.
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35327 >
2025-06-09 23:08:05 +00:00