winsys/amdgpu: avoid ioctl call when fence_wait is called without timeout
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 5 May 2016 21:35:09 +0000 (16:35 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 17 May 2016 20:28:39 +0000 (15:28 -0500)
commitfef08af99c7e83f100a5ae25f2798131c278d841
treebc4dc2690d5d8af9eae0b7791b8d3f690ce63ea1
parent0558564200466878f1a86e7a192d085b551079c4
winsys/amdgpu: avoid ioctl call when fence_wait is called without timeout

When user fences are used, we don't need the kernel for polling.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c