radv: Use the syncobj wait ioctl to wait on fences if possible.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 26 Feb 2018 20:52:49 +0000 (21:52 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 1 Mar 2018 00:07:18 +0000 (01:07 +0100)
commitf9898b211eb23c18d27508a2cbbdd629fc3dc734
treeb7560fb6d256ed813b12b5e7f44bf521c865fb1a
parent34bd5e2e2e8d9c213b051152f7a8b731151d9be5
radv: Use the syncobj wait ioctl to wait on fences if possible.

Handles the !waitAll and signal after the start of the wait cases correctly.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c