util/u_queue: handle OS_TIMEOUT_INFINITE in util_queue_fence_wait_timeout
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 09:40:41 +0000 (10:40 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 15:37:47 +0000 (16:37 +0100)
commitf53570a7a6155c42a9cc536948f26cb18dd9f32e
tree3ba07278edf19791ed2fba1cfa422e751ed621cc
parentee880e91ccf06fbf7cdea35c75b7dfd83bbc02b5
util/u_queue: handle OS_TIMEOUT_INFINITE in util_queue_fence_wait_timeout

Fixes e.g. piglit/bin/bufferstorage-persistent read -auto

Fixes: e6dbc804a87a ("winsys/amdgpu: handle cs_add_fence_dependency for deferred/unsubmitted fences")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/u_queue.h