Lionel Landwerlin
8147108590
anv: optimize pipeline switching with secondaries
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38479 >
2025-11-17 15:06:55 +00:00
Lionel Landwerlin
85a117bc37
anv: track descriptor mode in SBA tracepoint
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38479 >
2025-11-17 15:06:55 +00:00
Gert Wollny
942e6af40b
r600/sfn: use PS and PV inline registers when possible
...
This reduces register pressure later.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:57 +00:00
Gert Wollny
80887e2590
r600/sfn: Fix test creation and handling of 3-src without dest
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:57 +00:00
Gert Wollny
1f58a36abb
r600/sfn: Add method to force-override the dest of an AluInstr
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:57 +00:00
Gert Wollny
6f8841b338
r600/sfn: Make value factory a member of the block scheduler
...
No need to pass it around all the time.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:56 +00:00
Gert Wollny
8e0a0ca098
r600/sfn: Add slot access operator to AluGroup
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:56 +00:00
Gert Wollny
12d913fe4f
r600/sfn: change register ID of dummy dest register
...
Handle it correctly in the assembler, live range evaluation
and RA.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:56 +00:00
Gert Wollny
fc5728950b
r600/sfn: don't use dummy register with non-write 64 bit slots
...
For trans ops and two source ops we can just clear the write flag
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:56 +00:00
Gert Wollny
603af345be
r600/sfn: fix querying number of sources for LDS ops in readport validation
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:55 +00:00
Gert Wollny
0cd0efbbf9
r600/sfn: Don't assign dest registers in non-write interpolation slots
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:55 +00:00
Gert Wollny
ebe395608a
r600/sfn: Silence warning about unused parameter
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:55 +00:00
Gert Wollny
43df08dd42
r600/sfn: remove some unused static variables
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:54 +00:00
Gert Wollny
a22c03f0a3
r600: Handle dummy dest in assembler and disass
...
The dummy dest will not be allocated, so we must not
count it.
In the disassambler write PV and PS if the ALU dest GPR is
only used via PS/PV.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321 >
2025-11-17 14:46:54 +00:00
Tapani Pälli
1a4b4dba9a
anv: remove own GetRenderingAreaGranularityKHR
...
As it does the same as common version provided by runtime.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38474 >
2025-11-17 14:23:20 +00:00
Valentine Burley
eb0c95a5d5
lavapipe/ci: Run vkd3d job in parallel
...
This appears to be stable now, and running on multiple threads fixes the
the timeout problems we were hitting in lavapipe-vkd3d.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38476 >
2025-11-17 14:00:10 +00:00
Calder Young
d6fbbfef5c
brw: fix SIMD lowering of fp16 sampler message data with multiple components
...
Fixes: 61d6aea4 ("brw: fix SIMD lowering of sampler messages with fp16 data")
Closes : mesa/mesa#13149
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38455 >
2025-11-17 12:38:14 +00:00
Lionel Landwerlin
c12fa4bf8b
vulkan/runtime: fix incorrect assert on empty shader groups
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: e05a9b77b6 ("vulkan/runtime: split rt shaders hashing from compile")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14278
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38466 >
2025-11-17 12:12:22 +00:00
David Rosca
3abb2707e2
radv/video: Fix coding used_by_curr_pic_lt_flag
...
Fixes: d68a1fc0d4 ("radv/video: port hevc slice header encoding from radeonsi")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14301
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38475 >
2025-11-17 11:51:08 +00:00
Samuel Pitoiset
8d4ba81ca8
radv: remove now unused SDMA helpers
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38448 >
2025-11-17 11:29:24 +00:00
Samuel Pitoiset
a4e4f13c78
ac,radv: add ac_emit_sdma_copy_t2t_sub_window()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38448 >
2025-11-17 11:29:24 +00:00
Samuel Pitoiset
f5ecc5ffd5
ac,radv,radeonsi: add ac_emit_sdma_copy_tiled_sub_window()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38448 >
2025-11-17 11:29:24 +00:00
Samuel Pitoiset
5f8fa6ae03
ac,radv,radeonsi: add ac_emit_sdma_copy_linear_sub_window()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38448 >
2025-11-17 11:29:23 +00:00
Christoph Pillmayer
da3d8c8b4b
nir: Update progress info in nir_sort_unstructured_blocks
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38354 >
2025-11-17 10:30:37 +00:00
Christoph Pillmayer
8db66767a9
nir: Fix preseved metadata in sort_unstructured_blocks
...
Fixes: c859ea5783 ("nir: Add a sort_unstructured_blocks() helper")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38354 >
2025-11-17 10:30:37 +00:00
David Rosca
3858a6a696
radv/video: Fix coding allow_screen_content_tools and force_integer_mv
...
This was copied from radeonsi which expected seq_force_screen_content_tools = 2
and seq_force_integer_mv = 2.
Fixes: 37e71a5cb2 ("radv/video: add support for AV1 encoding")
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38371 >
2025-11-17 08:43:54 +00:00
David Rosca
22803f0d50
vulkan/video: Fix coding AV1 seq_choose_screen_content_tools = 1
...
Fixes: 724655bfc6 ("vulkan/video: add support for AV1 encoding to runtime")
Reviewed-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38371 >
2025-11-17 08:43:54 +00:00
Collabora's Gfx CI Team
c319cb627f
Uprev ANGLE to 127a84404b88dbc4327ffb7f831a9a36c3b111bc
...
https://github.com/google/angle/compare/e9626fbced6841d804e7eaf48bb078770822032b...127a84404b88dbc4327ffb7f831a9a36c3b111bc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38102 >
2025-11-17 08:07:36 +00:00
Samuel Pitoiset
9666bd1245
radv: remove unnecessary handling of SDMA in radv_cs_emit_write_event_eop()
...
This function is only called for GFX or ACE. SDMA uses are already
handled before.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38430 >
2025-11-17 08:28:38 +01:00
Samuel Pitoiset
6413651bcf
ac,radv,radeonsi: add ac_emit_sdma_copy_linear()
...
RadeonSI wasn't considering the undocumented HW limitation apparently.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38430 >
2025-11-17 08:28:37 +01:00
Samuel Pitoiset
191bf7aba6
ac,radv: add ac_emit_sdma_constant_fill()
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38430 >
2025-11-17 08:25:32 +01:00
Julia Zhang
0007644913
amdgpu/virtio: unmap bo in destroy_host_blob
...
Unmap bo in destroy_host_blob when hb->cpu_addr is not NULL.
This avoid memory leak caused by bo refcount is not 0 when
amdvgpu_bo_free is called.
Signed-off-by: Julia Zhang <Julia.Zhang@amd.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38440 >
2025-11-17 05:35:31 +00:00
Yiwei Zhang
12edb83fb5
venus: add a wsi image log
...
This is helpful to tell which path is taken:
1. explicit modifier: legacy_scanout=0, prime_blit=0
2. prime blit: legacy_scanout=0, prime_blit=1
3. legacy scanout: legacy_scanout=1, prime_blit=0
To be noted, venus doesn't advertise legacy scanout support, but we
implicitly support it for gamescope compatibility.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38457 >
2025-11-16 15:37:16 +00:00
Dmitry Baryshkov
b5193a7bdd
freedreno/ci: add a200 nightly jobs
...
Adreno 200 is an old GPU implementing GL ES 2.0. Add nightly jobs to
test for regressions on this hardware. It is currently limited to GL CTS
tests, because Piglit gives hard time, mostly crashing the GPU.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38383 >
2025-11-15 21:03:40 +00:00
Dmitry Baryshkov
41406e28dc
ci: describe my small lab
...
A small installation with several iMX53 devices, managed by CI-Tron.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38383 >
2025-11-15 21:03:40 +00:00
Timur Kristóf
0d20bdbe2c
ac: Improve description of some HW workarounds
...
Also add references to their conterparts in old PAL code.
This makes it easier to remember whether we mitigated the
same issues as PAL did.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:25:07 +01:00
Timur Kristóf
cad4e7d2e7
radv, radeonsi: Move GFX6-7 CB clamp issue to ac_gpu_info
...
To improve consistency between the two drivers.
This excludes Hawaii from the workaround on RADV.
Also add the same to ac_null_device_create().
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:24:59 +01:00
Timur Kristóf
35b376b942
radeonsi: Respect if rbplus is allowed when choosing color formats
...
For consistency with RADV.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:24:52 +01:00
Timur Kristóf
4f793d2515
radeonsi: Inline si_choose_spi_color_formats
...
Will be necessary for the subsequent commit.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:24:46 +01:00
Timur Kristóf
567e1b56ef
ac/gpu_info: Disable sparse VM mappings pre-Polaris, for now
...
Disable sparse mappings on GFX7-8 due to GPU hangs in the VK CTS,
except Polaris where it happens to work "well enough" to pass
the VK CTS and run some games already.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:23:59 +01:00
Timur Kristóf
1c8881fc60
radv: Disable sparse mapping when unsupported by VM
...
Also disable the sparse binding queue and other related features.
Using sparse on GFX6-8 can cause GPU hangs at the moment.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38304 >
2025-11-15 14:22:49 +01:00
Bohan Yu
a037443399
Panfrost: Fix un-split 64-bit address for store_scratch instruction
...
In Panfrost compute shader, store_scratch instructions with 64-bit const
address are generated by `nir_lower_vars_to_scratch`. This address didn't
pass `bi_emit_cached_split` before `bi_emit_store` and `bi_emit_load`,
which assumes the low and high parts of the 64-bit address are split.
A "missing bi_cache_collect()" abortion is then triggered at `bi_extract`.
This bug fix checks and splits 64-bit addresses in the `bi_emit_store` and
`bi_emit_load` instructions. Test on RK3588 with Mali-G610.
Reviewed-by: Eric R. Smith <eric.smith@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36969 >
2025-11-15 11:58:46 +00:00
Christian Gmeiner
a790236a56
etnaviv/ci: Add KHR-GLES2 conformance testing
...
Enable official Khronos OpenGL ES 2.0 conformance test suite (glcts)
for all etnaviv GPU variants in CI. This runs the gles2-khr-main
mustpass list to verify specification compliance.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38456 >
2025-11-15 11:00:07 +00:00
Eric Engestrom
9f2bab6569
broadcom/ci: fix rpi4 retries
...
CI-tron currently requires a number of minutes to also be set, so let's
just pick some huge value that will never actually trigger, leaving the
OVERALL timeout as the only one that applies.
Fixes: ee5a95319d ("broadcom/ci: automatically reboot rpi3 when they fail to find the root device")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38461 >
2025-11-15 08:51:50 +01:00
Marek Olšák
f9341082a2
nir,glsl,zink: remove the option nir_io_separate_clip_cull_distance_arrays
...
This calls nir_separate_merged_clip_cull_io in zink, which is better
than having to handle separate clip & cull arrays in all passes.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38452 >
2025-11-15 03:30:10 +00:00
Marek Olšák
da52bc466f
nir: add nir_separate_merged_clip_cull_io
...
Only needed by zink. This clip/cull distance separation pass is needed
to remove nir_io_separate_clip_cull_distance_arrays, so that all shared
GLSL code only uses merged clip+cull distance outputs.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38452 >
2025-11-15 03:30:10 +00:00
Marek Olšák
1e0fe81b69
nir: document how nir_opt_cse works and suggest improvements
...
not planning to work on the TODOs immediately
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38385 >
2025-11-15 02:56:30 +00:00
Marek Olšák
9247a78925
nir: document how nir_opt_dce works
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38385 >
2025-11-15 02:56:30 +00:00
Marek Olšák
e372365cf4
nir: rename nir_copy_prop -> nir_opt_copy_prop
...
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38411 >
2025-11-15 02:16:38 +00:00
Marek Olšák
296839f489
nir/opt_copy_propagate: refactor for readability, describe missing stuff
...
No functional change.
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38411 >
2025-11-15 02:16:38 +00:00