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)
commite39c5add322184de3be052d438dfd24375bfeaea
treea8724bab7dabd340016a91f0b2b0fa8c86cfda0c
parent4d60c5fd3f8751ea751d6dc6cfe0c1620420ccf8
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