Implement libresoc_DeviceWaitIdle() libresoc_QueueWaitIdle().
[mesa.git] / src / libre-soc / vulkan / libresoc_private.h
index 1b3424f5a4b56a6a5acbcdddfcf2784ded80f17e..60f12937448a0dc5dbfb7a0887d65c8b962d7eaa 100644 (file)
@@ -109,6 +109,9 @@ struct libresoc_device {
 
    /* Backup in-memory cache to be used if the app doesn't provide one */
    struct libresoc_pipeline_cache *                mem_cache;
+   /* Condition variable for legacy timelines, to notify waiters when a
+    * new point gets submitted. */
+   pthread_cond_t timeline_cond;
    /* FIXME: stub */
 };
 
@@ -169,6 +172,8 @@ struct libresoc_queue {
    int queue_idx;
    VkDeviceQueueCreateFlags flags;
 
+   struct list_head pending_submissions;
+   pthread_mutex_t pending_mutex;
    /* FIXME: stub */
 };