Re: [Mesa-dev] [PATCH 2/3] anv: Use absolute timeouts in wait_for_bo_fences

2018-10-27 Thread Lionel Landwerlin
On 26/10/2018 19:40, Jason Ekstrand wrote: We were previously using relative timeouts and decrementing the user-provided timeout as we waited. Instead, this commit refactors things to use absolute timeouts throughout. This should fix a subtle bug in the waitAll case where we aren't decrementing

[Mesa-dev] [PATCH 2/3] anv: Use absolute timeouts in wait_for_bo_fences

2018-10-26 Thread Jason Ekstrand
We were previously using relative timeouts and decrementing the user-provided timeout as we waited. Instead, this commit refactors things to use absolute timeouts throughout. This should fix a subtle bug in the waitAll case where we aren't decrementing the timeout after a successful GPU wait. Si