mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-04 21:20:37 +02:00
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> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| drm-shim | ||
| llvm | ||
| registers | ||
| vpelib | ||
| vulkan | ||
| meson.build | ||