[PATCH 00/20] virtio-gpu/next - per-head resolution and native context (pre-PR)

Alex Bennée posted 20 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260304165043.1437519-1-alex.bennee@linaro.org
Maintainers: Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Alex Bennée" <alex.bennee@linaro.org>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Dmitry Osipenko <dmitry.osipenko@collabora.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
docs/system/devices/virtio/virtio-gpu.rst | 121 ++++++-
meson.build                               |   8 +-
qapi/virtio.json                          |  13 +-
include/hw/virtio/virtio-gpu.h            |  26 +-
include/hw/virtio/virtio.h                |  10 +
include/ui/egl-context.h                  |   3 +-
include/ui/sdl2.h                         |   7 +
hw/display/virtio-gpu-base.c              |  16 +
hw/display/virtio-gpu-gl.c                |  62 +++-
hw/display/virtio-gpu-udmabuf-stubs.c     |   2 +-
hw/display/virtio-gpu-udmabuf.c           |  25 +-
hw/display/virtio-gpu-virgl.c             | 410 ++++++++++++++++++++--
hw/display/virtio-gpu.c                   |  23 +-
hw/virtio/virtio.c                        |  10 +
ui/dbus.c                                 |   4 +-
ui/egl-context.c                          |   6 +-
ui/egl-headless.c                         |   4 +-
ui/gtk-egl.c                              |   5 +-
ui/gtk-gl-area.c                          |  13 +-
ui/sdl2-gl.c                              |  76 +++-
ui/sdl2.c                                 |  48 +++
ui/spice-display.c                        |   4 +-
hw/display/trace-events                   |   2 +-
23 files changed, 792 insertions(+), 106 deletions(-)
[PATCH 00/20] virtio-gpu/next - per-head resolution and native context (pre-PR)
Posted by Alex Bennée 1 month, 1 week ago
I haven't had much time to track virtio-gpu stuff this cycle so I've
just done a sweep of the mailing list archive to look for stuff that
is reviewed and looks ready.

I've had a tweak a few patches which I've done directly to avoid the
latency of getting the submitter to update. While the native-context
stuff doesn't break existing virtio-gpu invocations it would be nice
if we could have some functional tests to cover it.

The following are still need review:

  virtio-gpu: Ensure BHs are invoked only from main-loop thread
  ui/egl: Don't change bound GL context when creating new context

I intend to roll the PR on Friday.

Alex.

Alex Bennée (1):
  docs/system: virtio-gpu: Document host/guest requirements

Andrew Keesler (1):
  Support per-head resolutions with virtio-gpu

Dmitry Osipenko (16):
  ui/gtk: Don't disable scanout when display is refreshed
  ui/sdl2: Don't disable scanout when display is refreshed
  ui/egl: Don't change bound GL context when creating new context
  ui/gdk: Restore original context after new context creation
  ui/sdl2: Restore original context after new context creation
  virtio-gpu: Ensure BHs are invoked only from main-loop thread
  virtio-gpu: Handle virgl fence creation errors
  virtio-gpu: Support asynchronous fencing
  virtio-gpu: Support DRM native context
  docs/system: virtio-gpu: Add link to Mesa VirGL doc
  docs/system: virtio-gpu: Update Venus link
  virtio-gpu: Remove superfluous memory_region_set_enabled()
  virtio-gpu: Validate hostmem mapping offset
  virtio-gpu: Replace finish_unmapping with mapping_state
  virtio-gpu: Destroy virgl resources on virtio-gpu reset
  virtio-gpu: Support mapping hostmem blobs with map_fixed

Dongwon Kim (1):
  virtio-gpu: Fix scanout dmabuf cleanup during resource destruction

Pierre-Eric Pelloux-Prayer (1):
  ui/sdl2: Implement dpy dmabuf functions

 docs/system/devices/virtio/virtio-gpu.rst | 121 ++++++-
 meson.build                               |   8 +-
 qapi/virtio.json                          |  13 +-
 include/hw/virtio/virtio-gpu.h            |  26 +-
 include/hw/virtio/virtio.h                |  10 +
 include/ui/egl-context.h                  |   3 +-
 include/ui/sdl2.h                         |   7 +
 hw/display/virtio-gpu-base.c              |  16 +
 hw/display/virtio-gpu-gl.c                |  62 +++-
 hw/display/virtio-gpu-udmabuf-stubs.c     |   2 +-
 hw/display/virtio-gpu-udmabuf.c           |  25 +-
 hw/display/virtio-gpu-virgl.c             | 410 ++++++++++++++++++++--
 hw/display/virtio-gpu.c                   |  23 +-
 hw/virtio/virtio.c                        |  10 +
 ui/dbus.c                                 |   4 +-
 ui/egl-context.c                          |   6 +-
 ui/egl-headless.c                         |   4 +-
 ui/gtk-egl.c                              |   5 +-
 ui/gtk-gl-area.c                          |  13 +-
 ui/sdl2-gl.c                              |  76 +++-
 ui/sdl2.c                                 |  48 +++
 ui/spice-display.c                        |   4 +-
 hw/display/trace-events                   |   2 +-
 23 files changed, 792 insertions(+), 106 deletions(-)

-- 
2.47.3