turnip: preliminary support for tu_QueueWaitIdle
authorChia-I Wu <olvaffe@gmail.com>
Thu, 10 Jan 2019 22:07:50 +0000 (14:07 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:41 +0000 (10:01 -0700)
commit2e684cb80000f5e615524f538358e0321d18e3e8
treef97197807183163004dca1f58aa67a765c9c0da3
parentb7a6a80e6c66b8bb91dcadd9a868c46fc138b26b
turnip: preliminary support for tu_QueueWaitIdle

This creates a new fd on each queue submit.  I do not go with
DRM_IOCTL_MSM_WAIT_FENCE solely because the path is marked legacy.
Otherwise, we can use the  fence id rather than requesting a fence
fd until external fences are supported and enabled.
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_private.h