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

dongwon.kim@intel.com posted 3 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240321234236.3476163-1-dongwon.kim@intel.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
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(-)
[PATCH v4 0/3] ui/console: Introduce helpers for creating and
Posted by dongwon.kim@intel.com 1 month, 1 week ago
From: Dongwon Kim <dongwon.kim@intel.com>

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(-)

-- 
2.34.1