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

Gerd Hoffmann posted 6 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171010135453.6704-1-kraxel@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
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
[Qemu-devel] [PATCH 0/6] ui: start adding dma-buf support
Posted by Gerd Hoffmann 6 years, 5 months ago
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

-- 
2.9.3