Martin Roukala (né Peres)
34502840ca
Revert "ci: disable the valve-kws farm"
...
This reverts commit 13783fe2ef , now that access
has been restored.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39042 >
2025-12-19 21:30:25 +02:00
José Roberto de Souza
821baac5c3
iris: Make uint32 the type used for slab sizes
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Most of the functions were using unsigned but we had too uint32 and even a
function with a uint64_t so lets standarize into uint32.
No changes in behavior expected.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39024 >
2025-12-19 13:40:15 +00:00
José Roberto de Souza
2cf0b8c2d0
iris: Fix slab memory leak
...
When in alloc_bo_from_slabs() size and alloc_size are different enough to have
different pb_slabs it causes the slab to be put into the reclaim list of a the
smaller pb_slabs when calling iris_bo_unreference(), causing a memory leak of
(alloc_size - size) bytes.
So here storing and using the actual slab size to fix this issue.
Cc: stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39024 >
2025-12-19 13:40:15 +00:00
Daniel Schürmann
f930ecdc55
amd: add newer small APUs to get_task_num_entries()
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38999 >
2025-12-19 13:03:49 +00:00
Erik Faye-Lund
02cfc61cc9
panfrost: enable texel-buffers for three-component formats
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
The CTS issue for this was closed two months ago, so this should be
fixed now.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Ryan Mckeever <ryan.mckeever@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38997 >
2025-12-19 11:15:26 +00:00
Lionel Landwerlin
252e55a1bb
nir/printf-helpers: set writes_memory at printf emission
...
Those helpers can be called late (since it's mostly for debug
purposes). This can avoid surprises in the backend and also avoids
rerunning gather_info.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38995 >
2025-12-19 10:31:08 +00:00
Erik Faye-Lund
c1e4c073cd
pvr: limit hw-defs to rogue
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Because we are using these carefully picked HW-defs in common code here,
we need to set PVR_BUILD_ARCH_ROGUE first.
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
13d12b33c0
pvr: make some winsys files multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
e762592bff
pvr: build pvr_arch_*.c as a multi-arch sources
...
This will allow us to build this multiple times for different
architectures. For now, it only defines a single architecture, because
that's what we currently support. But this makes room for future
architectures, that will follow relatively soon.
Co-authored-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
346e365daa
pvr: pass device-info to a few winsys functions
...
These will have to start knowing about the arch...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
ba2c40cd03
pvr: use rogue-prefix for rogue-specific code
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
6ae6dd7db6
pvr: make blit/clear-code rogue-specific
...
For Volcanic, we're planning on on using vk_meta instead of these, so
let's mark them as rogue-only for now.
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Erik Faye-Lund
e1064e57a7
pvr: only build pvr_dump_csb.c for rogue
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:05 +01:00
Ashish Chauhan
6b4577e12d
pvr: prepare for multi-gen compilation
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 10:35:02 +01:00
Erik Faye-Lund
edca79bc41
pvr: prepare winsys files for multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
f473c5fa97
pvr: mark pvr_framebuffer.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
e11fac9f26
pvr: mark pvr_mrt.c as multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
3d84905198
pvr: mark pvr_query_compute.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Ashish Chauhan
be52ea2af7
pvr: mark pvr_queue.c as multi-arch
...
Signed-off-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
d0d443abd7
pvr: mark pvr_sampler.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
921a04aac6
pvr: mark pvr_job_common.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
6bd378131a
pvr: mark pvr_hw_pass.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Ashish Chauhan
949e41a664
pvr: split pvr_formats.c
...
Signed-off-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
0b97360139
pvr: split pvr_image.c
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
8c7f0ad749
pvr: mark pvr_job_context.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Ashish Chauhan
1f1a6cdadf
pvr: split pvr_spm.c
...
Signed-off-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
8af73b5614
pvr: mark pvr_job_transfer.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
11f59c942e
pvr: mark pvr_job_render.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
d07bf4b190
pvr: mark pvr_cmd_query.c as per-arch
...
This is riddled with per-arch details; this should all be per-arch I
think.
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
bd9d87592e
pvr: mark pvr_cmd_buffer.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
6e57d71c0a
pvr: mark pvr_job_compute.c as per-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
eb56f9a200
pvr: mark pvr_tex_state.c as multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
6c14ff34e8
pvr: mark pvr_pass.c as multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:04 +01:00
Erik Faye-Lund
f789eb0d7d
pvr: mark pvr_border.c as multi-arch
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
120a89e2a9
pvr: split pvr_descriptor_set.c
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
1facaaba69
pvr: split pvr_csb.c
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
2c828a8825
pvr: split pvr_device.c
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
b5400c8ddf
pvr: factor out framebuffer-specific code
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
5c70230c49
pvr: factor out pvr_rt_dataset to separate module
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
9b3ab2c8cf
pvr: factor out cmdbuf functions from pvr_query.c
...
These functions needs to be per-arch, so let's split them out.
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
90f60b9b7e
pvr: limit availability of HW defs
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
5b3c05006d
pvr: store format-table in pvr_physical_device
...
This way we can look up in it without having to know what architecture
we're using.
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
49d94897af
pvr: add missing forward-decl
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Erik Faye-Lund
429e29ec42
pvr: add missing include
...
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38922 >
2025-12-19 09:52:03 +01:00
Christoph Pillmayer
cef4841d1a
pan/bi: Fix bi_find_loop_blocks for single block loops
...
Fixes: 6535a3b6 ("pan: Fix bi_find_loop_blocks")
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39018 >
2025-12-19 08:30:19 +00:00
Zan Dobersek
6bff8fd5e8
tu: use application name matching for Yooka-Laylee driconf option
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
When running Yooka-Laylee under FEX, the executable name will be the one of
the FEX binary, which the existing driconf option won't match. FEX is able
to override the executable name in newer versions, but overall it's still
more reliable to match the application name provided through Vulkan.
Fixes: 0574bfd5f4 ("tu: add UBO lowering workaround for Yooka-Laylee")
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39012 >
2025-12-19 07:50:40 +00:00
Ahmed Hesham
95ed8d6638
panfrost: fix get_image_width for 1D buffer images
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Image size queries for buffer images were incorrectly using the
underlying buffer's width instead of the image view's size.
This affected `get_image_width` in OpenCL C for 1Dbuffer images, in
cases where the buffer is larger than the image to account for
padding, breaking the conformance test `test_kernel_image_methods
1Dbuffer`.
Fixes: 0efe7a6eb9 ("panfrost: implement image_size sysval")
Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38949 >
2025-12-19 00:57:37 +00:00
Sushma Venkatesh Reddy
d9834fcaa6
compiler: Add FP8 types to GLSL type decoder
...
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39007 >
2025-12-19 00:09:53 +00:00
Sushma Venkatesh Reddy
d1d4e3d530
brw: Add EU assembler support for float8
...
Decode logic in Gfx12+ has become complex with the new types, so Caio
suggested that we move to the table like other gens.
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39007 >
2025-12-19 00:09:53 +00:00
Jordan Justen
0088aae481
intel/brw: Add new encode/decode for use with brw_data_type_float/int
...
Rework:
* Sushma: Add BF in brw_data_type_encode, brw_data_type_decode
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39007 >
2025-12-19 00:09:53 +00:00