gallium/os: add conversion and wait functions for absolute timeouts
authorMarek Olšák <marek.olsak@amd.com>
Fri, 26 Jun 2015 22:05:26 +0000 (00:05 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 5 Jul 2015 13:08:59 +0000 (15:08 +0200)
commit7316cc92f3810c9e53a22c35343190d8fb7980be
tree10eadbf00458d05015db1e4614ca11ccb53a36e0
parent3836857a777a248dd212ce7a1d7307d2984fda7d
gallium/os: add conversion and wait functions for absolute timeouts

Absolute timeouts are used with the amdgpu kernel driver.
It also makes waiting for several variables and fences at the same time
easier (the timeout doesn't have to be recalculated after every wait call).

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/auxiliary/os/os_time.c
src/gallium/auxiliary/os/os_time.h