radeonsi: fix syncobj wait timeout
authorQiang Yu <yuq825@gmail.com>
Thu, 3 Sep 2020 09:39:41 +0000 (17:39 +0800)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:16 +0000 (21:25 +0530)
commit73128dd46e12fb778e8a5fce3ee873d1ffa3f4d3
tree0a2b56bba50369b09b915ea575ca758e94f9b0fa
parentcb72a834655070c4690c4b0c5bc08cc089ba6b3f
radeonsi: fix syncobj wait timeout

syncobj wait takes absolute timeout value.

Fixes: 162502370c7 "winsys/amdgpu: implement sync_file import/export"
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6579>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c