[RFC PATCH v2 0/3] Deliver vGPU page flip events to userspace

From: Tina Zhang
Date: Tue Jun 04 2019 - 06:05:12 EST


This series tries to send the vGPU page flip events to userspace, which
can be used by QEMU UI for rendering and display with the latest guest
framebuffers.

v2: Use VFIO irq chain to get eventfds from userspace instead of adding
a new ABI. (Alex)

v1: https://patchwork.kernel.org/cover/10962341/


Tina Zhang (3):
vfio: Use capability chains to handle device specific irq
drm/i915/gvt: Leverage irq capability chain to get eventfd
drm/i915/gvt: Send plane flip events to user space

drivers/gpu/drm/i915/gvt/display.c | 10 +-
drivers/gpu/drm/i915/gvt/gvt.h | 4 +
drivers/gpu/drm/i915/gvt/handlers.c | 20 ++-
drivers/gpu/drm/i915/gvt/hypercall.h | 1 +
drivers/gpu/drm/i915/gvt/kvmgt.c | 208 +++++++++++++++++++++++++--
drivers/gpu/drm/i915/gvt/mpt.h | 16 +++
include/uapi/linux/vfio.h | 23 ++-
7 files changed, 268 insertions(+), 14 deletions(-)

--
2.17.1