Commit graph

210318 commits

Author SHA1 Message Date
Karol Herbst
da8e990a0a rusticl: specify FD type when importing fences
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:09 +00:00
Karol Herbst
f543b36178 rusticl/mesa: port PipeFence to use ThreadSafeCPtr
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:08 +00:00
Karol Herbst
ec88e83796 rusticl: handle failures when importing fences
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:08 +00:00
Karol Herbst
c3a331234d rusticl/icd: sort extension functions by extension name
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:07 +00:00
Karol Herbst
dda52143d4 rusticl/icd: qualify CLResult inside impl_cl_type_trait_base macro
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:07 +00:00
Karol Herbst
ad0402fc57 rusticl/util: drop uneccesary Arc in event_list_from_cl
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:06 +00:00
Karol Herbst
495a46bf49 rusticl/util: use read_and_advance in Properties
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:06 +00:00
Karol Herbst
4826e37f24 rusticl/util: add read_and_advance methods for pointers
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:06 +00:00
Karol Herbst
060a084a12 rusticl: fix a bunch of warnings
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36780>
2025-08-15 00:13:06 +00:00
Emma Anholt
d6a79f7e9f ci/tu: generalize the multisample_resolve tess/gs flakes.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
More variants have shown up, no reason to think formats are special.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36781>
2025-08-14 19:26:27 +00:00
Emma Anholt
8fb872159b ci/tu: Drop highp.scalar xfail.
Fixes: 99f09f8047 ("Revert "tu: Use nir_opt_reassociate."")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36781>
2025-08-14 19:26:27 +00:00
Emma Anholt
7090ad706b ci/tu: Generalize the FDM flakes and link an issue.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36781>
2025-08-14 19:26:27 +00:00
Karol Herbst
a1aed20842 rusticl: implement cl_ext_immutable_memory_objects
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Seán de Búrca <leftmostcat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36630>
2025-08-14 18:40:35 +00:00
Karol Herbst
d483566271 rusticl/mem: turn bool argument into enum in validate_mem_flags
Reviewed-by: Seán de Búrca <leftmostcat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36630>
2025-08-14 18:40:35 +00:00
Karol Herbst
bcec4acbd3 rusticl/mem: split out mem_flags validation for creation operations
validate_mem_flags is used by clCreate* and clGetSupportedImageFormats
which is a bit akward as those APIs have slightly different semantics on
the image flags and the clCreate* APIs support more flags with more
complex validation rules. And clGetSupportedImageFormats should be very
permissive in what combination of flags to accept.

Reviewed-by: Seán de Búrca <leftmostcat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36630>
2025-08-14 18:40:35 +00:00
Karol Herbst
61ad2bdf7f rusticl/kernel: create shader constants as immutable
Reviewed-by: Seán de Búrca <leftmostcat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36630>
2025-08-14 18:40:35 +00:00
Karol Herbst
c5f57f6594 rusticl/mesa: add ResourceType::Immutable
Reviewed-by: Seán de Búrca <leftmostcat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36630>
2025-08-14 18:40:34 +00:00
Yinjie Yao
4cb6094f2e ac,radeonsi/vcn: Use correct swizzle_mode for vcn4
On VCN4 SWIZZLE_MODE_8x8_1D_THIN_12_24BPP use different value
than previous VCN generations

Signed-off-by: Yinjie Yao <yinjie.yao@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36775>
2025-08-14 17:24:40 +00:00
Eric Engestrom
0aef7ede1e zink+radv/ci: give gfx1201 piglit tests a display to use
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:10 +02:00
Eric Engestrom
d0ef3c02c7 zink+radv/ci: give vangogh piglit tests a display to use
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:10 +02:00
Eric Engestrom
ef4b6808b9 zink+radv/ci: give navi31 piglit tests a display to use
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:10 +02:00
Eric Engestrom
c789def7a6 zink+radv/ci: give navi10 piglit tests a display to use
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:10 +02:00
Eric Engestrom
7f0b5a2c92 zink+radv/ci: give polaris10 piglit tests a display to use
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:09 +02:00
Eric Engestrom
003df4bb64 zink+radv/ci: add common fails for the next commits
The GPU-specific fails will be in each commit.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36579>
2025-08-14 18:10:09 +02:00
Eric Engestrom
c038839eb3 zink+radv/ci: fix typo in skips comment
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
c8c1541cd4 zink+radv/ci: deduplicate zink-radv-*-fails.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
2e26e1e86f zink+radv/ci: deduplicate zink-radv-*-skips.txt lists
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
90d692bd32 zink+radv/ci: set DRIVER_NAME=zink-radv to allow using common expectation files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
3a211679f7 softpipe/ci: drop asan fails that are already tracked as normal fails
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
6ea6682384 lavapipe/ci: drop asan fails that are already tracked as normal fails
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
22dcb250cc ci/deqp-runner: add support for all the prefixes for *-fails.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
2440ecc348 ci/deqp-runner: remove duplicate values to avoiding read the same file multiple times
Some jobs define multiple of these to the same value; let's simply
ignore those, as they might have a legitimate reason to do it.

This wasn't a problem with skips and flakes as those can contain
duplicates, but fails (next commit) are not allowed to be defined
multiple times.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
8137eae04d ci/deqp-runner: add support for all the prefixes for *-flakes.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
f8353e7eff ci/deqp-runner: simplify handling the various *-skips.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Eric Engestrom
44015c5325 ci/deqp-runner: drop implicit skips of GALLIUM_DRIVER or VK_DRIVER
The previous commit made these explicit via `DRIVER_NAME`.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Eric Engestrom
1b88e4a262 ci: set DRIVER_NAME in jobs that are implicitly inheriting skip lists
They were getting these through setting `GALLIUM_DRIVER`, which the next
commit removes.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Eric Engestrom
f6f091b9a6 softpipe/ci: document fixed tests
Unrelated to this MR, just noticed now.

They are likely missed by the current fraction on that job, which is why
this wasn't noticed.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Mike Blumenkrantz
117ac6ac0a tc: remove user cbuf uploads
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
this is no longer supported (drivers should set prefer_real_buffer_in_constbuf0)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:48 +00:00
Mike Blumenkrantz
f967a85f64 mesa/st: rework thread scheduler handling + add dispatch tracking
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
b8cd48e8e8 gallium: always upload cbuf0 when cap is set
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
203ac73374 gallium: set prefer_real_buffer_in_constbuf0 for all drivers using tc
this isn't really a functional change since tc was always doing
cbuf uploads anyway

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
04c505c200 zink: destroy u_uploaders earlier in context destroy
these might get defer-deleted onto the batch states, so ensure they
don't leak in that way

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
cbb6e0277f r600: stop using util_set_vertex_buffers
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
2d1758242f r300: stop using util_set_vertex_buffers
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
9fd27814f1 freedreno: stop using util_set_vertex_buffers
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
e4da10b4cb tc: add a function to check the internal buffer lists
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:47 +00:00
Mike Blumenkrantz
5d8ccf5986 tc: break out buffer list busy check
no functional changes

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:46 +00:00
Mike Blumenkrantz
a7fd3b454b util/tc: don't print END_BATCH in debug
this is a garbage string anyway

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:46 +00:00
Mike Blumenkrantz
097d953492 mesa/st: check for tc on context create
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:45 +00:00
Mike Blumenkrantz
425c1116de mesa: add a ctx param to _mesa_bufferobj_release_buffer
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36715>
2025-08-14 12:47:44 +00:00