* [Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane
@ 2019-05-05 10:15 Chen Zhang
2019-05-06 14:58 ` [Qemu-devel] [Bug 1827772] " Chen Zhang
2021-05-05 11:27 ` Thomas Huth
0 siblings, 2 replies; 3+ messages in thread
From: Chen Zhang @ 2019-05-05 10:15 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
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;
** Affects: qemu
Importance: Undecided
Status: New
** Tags: gvt mdev rfc vfio
--
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;
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1827772/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1827772] Re: [RFC] dma buf: support sprite plane
2019-05-05 10:15 [Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane Chen Zhang
@ 2019-05-06 14:58 ` Chen Zhang
2021-05-05 11:27 ` Thomas Huth
1 sibling, 0 replies; 3+ messages in thread
From: Chen Zhang @ 2019-05-06 14:58 UTC (permalink / raw)
To: qemu-devel
** 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 1827772] Re: [RFC] dma buf: support sprite plane
2019-05-05 10:15 [Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane Chen Zhang
2019-05-06 14:58 ` [Qemu-devel] [Bug 1827772] " Chen Zhang
@ 2021-05-05 11:27 ` Thomas Huth
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2021-05-05 11:27 UTC (permalink / raw)
To: qemu-devel
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/169
** Changed in: qemu
Status: New => Expired
** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #169
https://gitlab.com/qemu-project/qemu/-/issues/169
--
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:
Expired
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-05 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05 10:15 [Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane Chen Zhang
2019-05-06 14:58 ` [Qemu-devel] [Bug 1827772] " Chen Zhang
2021-05-05 11:27 ` Thomas Huth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.