[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane
From: |
Chen Zhang |
Subject: |
[Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane |
Date: |
Sun, 05 May 2019 10:15:41 -0000 |
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
- [Qemu-devel] [Bug 1827772] [NEW] [RFC] dma buf: support sprite plane,
Chen Zhang <=