mesa/src/amd
Joshua Ashton 86954c766f radv: Ensure vkGetQueryPoolResults returns in finite-time
When a device lost occured, we were not ensuring that
vkGetQueryPoolResults with VK_QUERY_RESULT_WAIT_BIT was returning.

We could have the caller stuck in our while(...) loop polling the query
atomics forever which violates the finite-time guarantees of this function.

This solves that by adding a timeout to this call to be double the
default TDR timeout for the potential queues relating to this query.

Signed-off-by: Joshua Ashton <joshua@froggi.es>

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27091>
2024-01-19 07:52:01 +00:00
..
addrlib amd/common: update addrlib for gfx11.5 2023-10-20 07:32:34 +00:00
ci ac/llvm: Enable helper invocations for quad OPs 2024-01-18 21:00:06 +00:00
common ac,radeonsi: emulate GS primitive pipeline stat on gfx11 because of culling 2024-01-17 09:05:55 +00:00
compiler aco: silent checking if clrxdisasm is available 2024-01-19 07:33:56 +00:00
drm-shim amd: Use align64 instead of ALIGN for 64 bit value parameter 2024-01-03 22:02:17 +00:00
llvm ac/llvm: Enable helper invocations for quad OPs 2024-01-18 21:00:06 +00:00
registers ac/registers: allow to parse GCVM_L2_PROTECTION_FAULT_STATUS 2023-10-30 08:10:22 +00:00
vpelib amd/vpelib: Solve the downscaling problem for 2 tap 2024-01-11 19:21:17 +00:00
vulkan radv: Ensure vkGetQueryPoolResults returns in finite-time 2024-01-19 07:52:01 +00:00
meson.build amd,radeonsi: add libvpe 2023-12-01 00:23:38 +00:00