Skip to content

ui/console: Introduce helpers for creating and

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 5 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ui/console: Introduce dpy_gl_dmabuf_get_height/width() helpershw/display/virtio-gpu-udmabuf.c hw/vfio/display.c include/ui/console.h +1 more+30 -62 replies
2/3ui/console: Introduce dpy_gl_dmabuf_get_fd() helperhw/vfio/display.c include/ui/console.h ui/console.c+17 -11 reply
3/3ui/console: Introduce dpy_gl_create_dmabuf() helperhw/display/vhost-user-gpu.c hw/display/virtio-gpu-udmabuf.c hw/vfio/display.c +5 more+86 -642 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] ui/console: Introduce helpers for creating and

From: Dongwon Kim <[email protected]>

QemuDmaBuf struct is defined and primarily used by ui/console/gl so it is better to handle its creation, initialization and access within ui/console rather than within hw modules such as hw/display/virtio-gpu, hw/display/vhost-user-gpu and hw/vfio as well as ui/dbus-listener.

v4: refactored patches in the previous series

made ui/dbus-listener and hw/display/vhost-user-gpu to use the new helpers

Dongwon Kim (3):
ui/console: Introduce dpy_gl_dmabuf_get_height/width() helpers ui/console: Introduce dpy_gl_dmabuf_get_fd() helper ui/console: Introduce dpy_gl_create_dmabuf() helper

 include/hw/vfio/vfio-common.h   |  2 +-
 include/hw/virtio/virtio-gpu.h  |  2 +-
 include/ui/console.h            |  9 ++++++
 hw/display/vhost-user-gpu.c     | 12 +++----
 hw/display/virtio-gpu-udmabuf.c | 26 ++++++----------
 hw/vfio/display.c               | 36 +++++++++++----------
 ui/console.c                    | 55 +++++++++++++++++++++++++++++++++
 ui/dbus-listener.c              | 22 ++++++-------
 8 files changed, 109 insertions(+), 55 deletions(-)
Signature · 1 line
2.34.1