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