d2f3e01f61
The kernel keeps returning -ENOMEM if multiple processes allocate GDS, this always happen while running VKCTS. This solution is loosely based on RadeonSI, except that it includes a timeout of 1s to exit the loop. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19440>