mesa/src/amd
Pierre-Eric Pelloux-Prayer cd5f77f6c2 radeonsi: sync harder on finish
With the threaded submit code, there's a small window where
the fence can be signalled but the buffer lists cleanup code
from amdgpu_cs_submit_ib has not executed yet.

This is harmless in general, because num_active_ioctls is
an optimization.

When the glFinish is called though, it's best to avoid this
inconsistencies because it can create odd behavior as shown
by the flakes being fixed by this commit.
The test runs a query, uses glFinish and expect the results
to be available. Since results availability depends on
num_active_ioctls, it made the test flaky.

Fix this by syncing when PIPE_FLUSH_HINT_FINISH is set.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36930>
2025-09-02 17:46:46 +00:00
..
addrlib addrlib: __debugbreak only present on Windows and from intrin.h 2025-08-07 07:47:42 +00:00
ci radeonsi: sync harder on finish 2025-09-02 17:46:46 +00:00
common radeonsi/vcn: Correctly set chroma location with EFC 2025-09-01 10:30:38 +00:00
compiler aco/ra: coalesce vector affinities with tied definitions 2025-09-02 10:24:27 +00:00
drm-shim amd/drm-shim: add navi33 2025-08-19 12:15:01 +00:00
gmlib amd/gmlib: remove the executable bit 2025-06-12 07:44:27 +00:00
lanczoslib radeonsi/vpe: enhance scaling quality 2025-06-12 07:44:26 +00:00
llvm ac/llvm: port load_smem_amd behavior to load_global_amd 2025-08-30 15:04:32 -04:00
registers amd: Rename GFX1103_R1/R2 to PHOENIX/2 2024-11-20 02:14:40 +00:00
vpelib amd/vpelib: Minor Refactor 2025-08-20 10:42:01 +08:00
vulkan radv/video: Fix VP9 loop filter and segmentation params 2025-09-02 10:46:23 +00:00
meson.build radeonsi/vpe: enhance scaling quality 2025-06-12 07:44:26 +00:00