Skip to content

virtio-gpu: enable Venus/Vulkan without OpenGL display

Lucas Amaral qemu-arm qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 13 repliesIn review
  2. v44 patches 1 replySuperseded
  3. v33 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches1 replySuperseded
v13 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Reorder patches: move header definitions (patch 2) before Venus decouple (patch 3) to fix bisect breakage (Kuan-Wei Chiu)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ui: introduce GRAPHIC_FLAGS_VK for Vulkan scanoutinclude/ui/console.h ui/console.c+9 -01 reply
2/4virtio-gpu: add VIRTIO_GPU_F_BLOB_ALIGNMENT header definitionsinclude/standard-headers/linux/virtio_gpu.h+6 -01 reply
3/4virtio-gpu: decouple Venus from CONFIG_OPENGLhw/display/meson.build hw/display/virtio-gpu-base.c hw/display/virtio-gpu-gl.c +1 more+98 -163 replies
4/4virtio-gpu: advertise VIRTIO_GPU_F_BLOB_ALIGNMENThw/display/virtio-gpu.c+8 -03 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/4] virtio-gpu: enable Venus/Vulkan without OpenGL display

Decouple Venus from CONFIG_OPENGL so it works on hosts with no GL display (e.g. macOS with MoltenVK). 2D display commands fall back to pixman; 3D/Vulkan goes through the render server as usual.

v4 -> v5:
- Reorder patches: move header definitions (patch 2) before Venus decouple (patch 3) to fix bisect breakage (Kuan-Wei Chiu)

v3 -> v4:
- Rebased onto current master (conflict resolved in virtio-gpu.c with new upstream drm feature check)
- Split Linux header changes into dedicated patch (checkpatch)
- Fix line-over-80 warnings
- Resent as new top-level thread (Alex Bennée)

v2 -> v3:
- Rebased onto current master
- Fixed line-over-80 warnings

v1 -> v2:
- Remove hvf_get_map_granule() safety check (moved to hvf-map-granule)
- Extract GRAPHIC_FLAGS_VK into its own patch
- Fold standard-headers addition into blob_alignment patch

Lucas Amaral (4):
ui: introduce GRAPHIC_FLAGS_VK for Vulkan scanout
virtio-gpu: add VIRTIO_GPU_F_BLOB_ALIGNMENT header definitions
virtio-gpu: decouple Venus from CONFIG_OPENGL
virtio-gpu: advertise VIRTIO_GPU_F_BLOB_ALIGNMENT

 hw/display/meson.build                      |  8 +-
 hw/display/virtio-gpu-base.c                | 15 +++-
 hw/display/virtio-gpu-gl.c                  |  6 +-
 hw/display/virtio-gpu-virgl.c               | 85 ++++++++++++++++++---
 hw/display/virtio-gpu.c                     |  8 ++
 include/standard-headers/linux/virtio_gpu.h |  6 ++
 include/ui/console.h                        |  2 +
 ui/console.c                                |  7 ++
 8 files changed, 121 insertions(+), 16 deletions(-)
Signature · 1 line
2.52.0