]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: vGPU MMIO virtualization
authorZhi Wang <zhi.a.wang@intel.com>
Fri, 2 Sep 2016 05:33:29 +0000 (13:33 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 14 Oct 2016 10:12:59 +0000 (18:12 +0800)
commit6e5a935462ba47c146f7c4ef488c61e67f5c0821
treea8724bab7dabd340016a91f0b2b0fa8c86cfda0c
parentf27d4fd96e1c5a955e49343cbe61947a4031a5f4
drm/i915/gvt: vGPU MMIO virtualization

This patch introduces the generic vGPU MMIO emulation intercept
framework.  The MPT modules will request GVT-g core logic to
emulate MMIO read/write through IO emulation operations
callback when hypervisor trapped a guest GTTMMIO read/write.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/Makefile
drivers/gpu/drm/i915/gvt/debug.h
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/hypercall.h
drivers/gpu/drm/i915/gvt/mmio.c [new file with mode: 0644]
drivers/gpu/drm/i915/gvt/mmio.h
drivers/gpu/drm/i915/gvt/reg.h
drivers/gpu/drm/i915/gvt/vgpu.c