summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_gvt.h
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2016-09-02 07:41:29 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2016-10-14 13:11:19 +0300
commit28a60dee2ce6021fa6b304bc6761b71120635ad8 (patch)
treee35be207ed7b496322662833269a4f438f3db1be /drivers/gpu/drm/i915/intel_gvt.h
parent86e83e35d190a9b553384e0e711091a4e9643998 (diff)
downloadlinux-28a60dee2ce6021fa6b304bc6761b71120635ad8.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_gvt.h')
-rw-r--r--drivers/gpu/drm/i915/intel_gvt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_gvt.h b/drivers/gpu/drm/i915/intel_gvt.h
index 960211df74db..0f00105f4c5d 100644
--- a/drivers/gpu/drm/i915/intel_gvt.h
+++ b/drivers/gpu/drm/i915/intel_gvt.h
@@ -24,6 +24,7 @@
#ifndef _INTEL_GVT_H_
#define _INTEL_GVT_H_
+#include "i915_pvinfo.h"
#include "gvt/gvt.h"
#ifdef CONFIG_DRM_I915_GVT