qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1827772] Re: [RFC] dma buf: support sprite plane


From: Chen Zhang
Subject: [Qemu-devel] [Bug 1827772] Re: [RFC] dma buf: support sprite plane
Date: Mon, 06 May 2019 14:58:18 -0000

** Description changed:

  QEMU does not support sprite/overlay in DMA-buf mode for Intel gvt
  vGPUs. Some use cases relies on sprite plane support, e.g. hw
  accelerated video playback in Windows 10 guest.
  
  To support this feature, functions in both kernel and QEMU should be
  implemented:
  
- - query support for plane info in kernel: 
-   in vgpu_get_plane_info() of drm/i915/gvt/dmabuf.c, calls to 
intel_vgpu_decode_sprite_plane() shall be made;
+ - query support for plane info in kernel:
+   in vgpu_get_plane_info() of drm/i915/gvt/dmabuf.c, calls to 
intel_vgpu_decode_sprite_plane() shall be made;
  
  - struct to hold VFIODMABuf object in QEMU:
-   in struct VFIODisplay of include/hw/vfio/vfio-common.h;
+   in struct VFIODisplay of include/hw/vfio/vfio-common.h;
  - copying of data in QEMU:
-   in vfio_display_get_dmabuf() of hw/vfio/display.c;
+   in vfio_display_get_dmabuf() of hw/vfio/display.c;
  - drawing of sprite plane in QEMU:
-   in vfio_display_dmabuf_update() of hw/vfio/display.c;
+   in vfio_display_dmabuf_update() of hw/vfio/display.c;
+   defining more DisplayChangeListenerOps for overlay;
+   adding position info in struct QemuDmaBuf of include/ui/console.h;
+   adding overlay_fb in struct VirtualGfxConsole of include/ui/gtk.h;
+   implement gd_egl_overlay_dmabuf for overlay update;

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1827772

Title:
  [RFC] dma buf: support sprite plane

Status in QEMU:
  New

Bug description:
  QEMU does not support sprite/overlay in DMA-buf mode for Intel gvt
  vGPUs. Some use cases relies on sprite plane support, e.g. hw
  accelerated video playback in Windows 10 guest.

  To support this feature, functions in both kernel and QEMU should be
  implemented:

  - query support for plane info in kernel:
    in vgpu_get_plane_info() of drm/i915/gvt/dmabuf.c, calls to 
intel_vgpu_decode_sprite_plane() shall be made;

  - struct to hold VFIODMABuf object in QEMU:
    in struct VFIODisplay of include/hw/vfio/vfio-common.h;
  - copying of data in QEMU:
    in vfio_display_get_dmabuf() of hw/vfio/display.c;
  - drawing of sprite plane in QEMU:
    in vfio_display_dmabuf_update() of hw/vfio/display.c;
    defining more DisplayChangeListenerOps for overlay;
    adding position info in struct QemuDmaBuf of include/ui/console.h;
    adding overlay_fb in struct VirtualGfxConsole of include/ui/gtk.h;
    implement gd_egl_overlay_dmabuf for overlay update;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1827772/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]