Re: [PATCH v1 2/5] ui: Add a helper to wait on a dmabuf sync object

2021-06-08 Thread Gerd Hoffmann
Hi, > +/* optional */ > +void (*dpy_gl_wait_dmabuf)(DisplayChangeListener *dcl, > + QemuDmaBuf *dmabuf); Hmm, a blocking wait isn't the best plan here, it'll stall the iothread. We already have a way to stop virtio-gpu command processing:

[PATCH v1 2/5] ui: Add a helper to wait on a dmabuf sync object

2021-06-07 Thread Vivek Kasireddy
This will be called by virtio-gpu in the subsequent patches. Cc: Gerd Hoffmann Signed-off-by: Vivek Kasireddy --- include/ui/console.h | 5 + ui/console.c | 10 ++ 2 files changed, 15 insertions(+) diff --git a/include/ui/console.h b/include/ui/console.h index