Skip to content

ui: start adding dma-buf support

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6console: add support for dmabufsinclude/qemu/typedefs.h include/ui/console.h ui/console.c+59 -01 reply
2/6opengl: move shader init from console-gl.c to shader.cMakefile include/ui/console.h include/ui/gtk.h +9 more+68 -720 replies
3/6opengl: add flipping vertex shaderMakefile include/ui/shader.h ui/console-gl.c +2 more+24 -60 replies
4/6egl-helpers: add dmabuf import supportinclude/ui/egl-helpers.h ui/egl-helpers.c+49 -00 replies
5/6egl-helpers: add egl_texture_blit and egl_texture_blendinclude/ui/egl-helpers.h ui/egl-helpers.c+31 -00 replies
6/6egl-headless: add dmabuf supportui/egl-headless.c+57 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] ui: start adding dma-buf support

The kernel side of vfio display support seems to be close to merge now, with some luck they hit the next merge window. Time to start reviewing the qemu patches so they can be merged timely ...

This series adds support for dma-bufs to the qemu ui infrastructure and the egl-headless ui (other UIs will follow later). Intel vgpu's will export the guest display as dma-buf, so this is needed to show the guest display.

Gerd Hoffmann (6):
console: add support for dmabufs
opengl: move shader init from console-gl.c to shader.c
opengl: add flipping vertex shader
egl-helpers: add dmabuf import support
egl-helpers: add egl_texture_blit and egl_texture_blend
egl-headless: add dmabuf support

 Makefile                         |  6 ++--
 include/qemu/typedefs.h          |  1 +
 include/ui/console.h             | 39 ++++++++++++++++-----
 include/ui/egl-helpers.h         |  7 ++++
 include/ui/gtk.h                 |  2 +-
 include/ui/sdl2.h                |  2 +-
 include/ui/shader.h              | 12 +++----
 include/ui/spice-display.h       |  2 +-
 ui/console-gl.c                  | 45 ++++---------------------
 ui/console.c                     | 33 ++++++++++++++++++
 ui/egl-headless.c                | 59 ++++++++++++++++++++++++++++++--
 ui/egl-helpers.c                 | 73 ++++++++++++++++++++++++++++++++++++++++
 ui/gtk-egl.c                     |  2 +-
 ui/gtk-gl-area.c                 |  2 +-
 ui/sdl2-gl.c                     |  4 +--
 ui/shader.c                      | 57 ++++++++++++++++++++++++++-----
 ui/spice-display.c               |  2 +-
 ui/shader/texture-blit-flip.vert | 10 ++++++
 18 files changed, 283 insertions(+), 75 deletions(-)
 create mode 100644 ui/shader/texture-blit-flip.vert
Signature · 1 line
2.9.3