mbox series

[v14,0/9] rutabaga_gfx + gfxstream

Message ID 20230929201341.332-1-gurchetansingh@chromium.org
Headers show
Series rutabaga_gfx + gfxstream | expand

Message

Gurchetan Singh Sept. 29, 2023, 8:13 p.m. UTC
From: Gurchetan Singh <gurchetansingh@google.com>

Prior version:

https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg05005.html

Even though reviewed, there were a few issues that needed to be addressed.

1) Packaging/Releasing

Marc-Andre Lureau pointed a few issues with packaging the AEMU library:

https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg02734.html

https://android-review.googlesource.com/q/topic:%22aemu-package-fix%22
https://android-review.googlesource.com/c/platform/hardware/google/aemu/+/2751077

I therefore propose the current ToT:

- AEMU: d6e6b99 "Delete VpxFrameParser.cpp"
- gfxstream: 2131f78d Merge "gfxstream: add egl & gles deps.."

as the 0.1.2 release points.  Let me know if that works for packaging and
I will get release tags made.  There is a rutabaga release tag already, let
me know if another is desired.  Thanks!

2) Command line interface

The command line interface is now "gfxstream-vulkan=on,cross-domain=on" as
per discussion here:

https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg03038.html

"wayland_socket_path" is also now "wayland-socket-path" to the command-line
users.

3) Potential bug after memory unmap

Akihiko Odaki pointed out a potential memory map, but it one that would
only be triggered by fuzzing/malicious actors.

https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg05141.html
https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg05540.html

I just documented the bug as suggested since I suspect for cross-platform
support that code in particular will need to be refactored anyways, so
avoid optimizing for now.

Antonio Caggiano (2):
  virtio-gpu: CONTEXT_INIT feature
  virtio-gpu: blob prep

Dr. David Alan Gilbert (1):
  virtio: Add shared memory capability

Gerd Hoffmann (1):
  virtio-gpu: hostmem

Gurchetan Singh (5):
  gfxstream + rutabaga prep: added need defintions, fields, and options
  gfxstream + rutabaga: add initial support for gfxstream
  gfxstream + rutabaga: meson support
  gfxstream + rutabaga: enable rutabaga
  docs/system: add basic virtio-gpu documentation

 docs/system/device-emulation.rst     |    1 +
 docs/system/devices/virtio-gpu.rst   |  112 +++
 hw/display/meson.build               |   22 +
 hw/display/virtio-gpu-base.c         |    6 +-
 hw/display/virtio-gpu-pci-rutabaga.c |   47 ++
 hw/display/virtio-gpu-pci.c          |   14 +
 hw/display/virtio-gpu-rutabaga.c     | 1127 ++++++++++++++++++++++++++
 hw/display/virtio-gpu.c              |   16 +-
 hw/display/virtio-vga-rutabaga.c     |   50 ++
 hw/display/virtio-vga.c              |   33 +-
 hw/virtio/virtio-pci.c               |   18 +
 include/hw/virtio/virtio-gpu-bswap.h |   15 +
 include/hw/virtio/virtio-gpu.h       |   40 +
 include/hw/virtio/virtio-pci.h       |    4 +
 meson.build                          |    7 +
 meson_options.txt                    |    2 +
 scripts/meson-buildoptions.sh        |    3 +
 softmmu/qdev-monitor.c               |    3 +
 softmmu/vl.c                         |    1 +
 19 files changed, 1502 insertions(+), 19 deletions(-)
 create mode 100644 docs/system/devices/virtio-gpu.rst
 create mode 100644 hw/display/virtio-gpu-pci-rutabaga.c
 create mode 100644 hw/display/virtio-gpu-rutabaga.c
 create mode 100644 hw/display/virtio-vga-rutabaga.c