turnip: semaphore support.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 17 Nov 2019 05:23:15 +0000 (06:23 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 19:34:17 +0000 (19:34 +0000)
commitaba8c579a9780f9d3ad2d677f9ef625df7726479
tree83ae9d6f6183886e6d87cf5dede92eb6a06306b2
parent6283da34a9147f65c2cf2bc0d4d2c06bec9ed4ac
turnip: semaphore support.

There is only one queue for now, so for non-shared semaphores, the
implementation is basically a no-op. For shared semaphores, this
always uses syncobjs. This depends on syncobj support in the msm
kernel driver.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2769>
include/drm-uapi/msm_drm.h
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_extensions.py
src/freedreno/vulkan/tu_private.h