qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ui/console: initialize QemuDmaBuf in ui/console
@ 2024-03-20 20:50 dongwon.kim
  2024-03-20 20:50 ` [PATCH 1/3] hw/virtio: initialize QemuDmaBuf using the function from ui/console dongwon.kim
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: dongwon.kim @ 2024-03-20 20:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: philmd, marcandre.lureau

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 and
hw/vfio/display.

To achieve this, new methods for allocating, initializing the struct, and
accessing certain fields necessary for hardware modules have been introduced
in ui/console.c.
(3rd patch)

Furthermore, modifications have been made to hw/display/virtio-gpu and
hw/vfio/display to utilize these new methods instead of setting up the struct
independently.
(1st and 2nd patches)

Dongwon Kim (3):
  hw/virtio: intialize QemuDmaBuf using the function from ui/console
  hw/vfio: intialize QemuDmaBuf using the function from ui/console
  ui/console: add methods for allocating, intializing and accessing
    QemuDmaBuf

 hw/display/virtio-gpu-udmabuf.c | 27 +++++++---------
 hw/vfio/display.c               | 35 ++++++++++++---------
 include/hw/vfio/vfio-common.h   |  2 +-
 include/hw/virtio/virtio-gpu.h  |  2 +-
 include/ui/console.h            | 10 ++++++
 ui/console.c                    | 55 +++++++++++++++++++++++++++++++++
 6 files changed, 98 insertions(+), 33 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-21  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 20:50 [PATCH 0/3] ui/console: initialize QemuDmaBuf in ui/console dongwon.kim
2024-03-20 20:50 ` [PATCH 1/3] hw/virtio: initialize QemuDmaBuf using the function from ui/console dongwon.kim
2024-03-20 20:50 ` [PATCH 2/3] hw/vfio: intialize " dongwon.kim
2024-03-20 20:50 ` [PATCH 3/3] ui/console: add methods for allocating, intializing and accessing QemuDmaBuf dongwon.kim
2024-03-21  9:58   ` Philippe Mathieu-Daudé
2024-03-21  6:57 ` [PATCH 0/3] ui/console: initialize QemuDmaBuf in ui/console Philippe Mathieu-Daudé
2024-03-21  7:01   ` Kim, Dongwon
2024-03-21  7:04     ` Philippe Mathieu-Daudé
2024-03-21  9:41 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).