tu: remove tu_syncobj_to_fd

It isnt used anymore, last used in tu_wsi_display.c which doesnt
exist anymore.

Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17927>
This commit is contained in:
Yusuf Khan 2022-08-06 14:32:36 -04:00 committed by Marge Bot
parent 781f5fc499
commit 73931afc60
3 changed files with 0 additions and 19 deletions

View file

@ -1184,12 +1184,3 @@ tu_queue_submit(struct vk_queue *vk_queue, struct vk_queue_submit *submit)
return VK_SUCCESS;
}
int
tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync)
{
VkResult ret;
int fd;
ret = vk_sync_export_opaque_fd(&device->vk, sync, &fd);
return ret ? -1 : fd;
}

View file

@ -117,9 +117,6 @@ tu_drm_submitqueue_new(const struct tu_device *dev,
void
tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id);
int
tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync);
VkResult
tu_queue_submit(struct vk_queue *vk_queue, struct vk_queue_submit *submit);

View file

@ -726,13 +726,6 @@ tu_GetFenceStatus(VkDevice _device, VkFence _fence)
return VK_SUCCESS;
}
int
tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync)
{
tu_finishme("tu_syncobj_to_fd");
return -1;
}
VkResult
tu_device_wait_u_trace(struct tu_device *dev, struct tu_u_trace_syncobj *syncobj)
{