Module: Mesa
Branch: main
Commit: ceeab44fd1ff116b5a3906044fc33588b65dcbda
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceeab44fd1ff116b5a3906044fc33588b65dcbda

Author: Rob Clark <robdcl...@chromium.org>
Date:   Thu Nov  2 07:29:51 2023 -0700

tu/virtio: Fix timeline semaphore support

Fixes: f17c5297d7a0 ("tu: Add virtgpu support")
Signed-off-by: Rob Clark <robdcl...@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25981>

---

 src/freedreno/vulkan/tu_knl_drm_virtio.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/freedreno/vulkan/tu_knl_drm_virtio.cc 
b/src/freedreno/vulkan/tu_knl_drm_virtio.cc
index 8f43bf83a99..d944d079dd4 100644
--- a/src/freedreno/vulkan/tu_knl_drm_virtio.cc
+++ b/src/freedreno/vulkan/tu_knl_drm_virtio.cc
@@ -1445,6 +1445,7 @@ virtio_queue_submit(struct tu_queue *queue, struct 
vk_queue_submit *submit)
       in_syncobjs[nr_in_syncobjs++] = (struct drm_virtgpu_execbuffer_syncobj) {
          .handle = tu_syncobj_from_vk_sync(sync),
          .flags = 0,
+         .point = submit->waits[i].wait_value,
       };
    }
 
@@ -1454,6 +1455,7 @@ virtio_queue_submit(struct tu_queue *queue, struct 
vk_queue_submit *submit)
       out_syncobjs[nr_out_syncobjs++] = (struct 
drm_virtgpu_execbuffer_syncobj) {
          .handle = tu_syncobj_from_vk_sync(sync),
          .flags = 0,
+         .point = submit->signals[i].signal_value,
       };
    }
 

Reply via email to