drm/i915/gvt: vGPU HW resource management
authorZhi Wang <zhi.a.wang@intel.com>
Fri, 2 Sep 2016 04:41:29 +0000 (12:41 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 14 Oct 2016 10:11:19 +0000 (18:11 +0800)
commit28a60dee2ce6021fa6b304bc6761b71120635ad8
treee35be207ed7b496322662833269a4f438f3db1be
parent86e83e35d190a9b553384e0e711091a4e9643998
drm/i915/gvt: vGPU HW resource management

This patch introduces the GVT-g vGPU HW resource management. Under
GVT-g virtualizaion environment, each vGPU requires portions HW
resources, including aperture, hidden GM space, and fence registers.

When creating a vGPU, GVT-g will request these HW resources from host,
and return them to host after a vGPU is destroyed.

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/aperture_gm.c [new file with mode: 0644]
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/intel_gvt.h