mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
tu/virtio: Fix timeline semaphore support
Fixes: f17c5297d7 ("tu: Add virtgpu support")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25981>
This commit is contained in:
parent
79b907f941
commit
ceeab44fd1
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue