summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/gvt.h
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2016-05-01 17:09:58 -0400
committerZhenyu Wang <zhenyuw@linux.intel.com>2016-10-14 18:15:02 +0800
commit4b63960ebd3f4c41caca6a8dca68751b34e61e9b (patch)
tree10c6ef6d9c548b2d243c53c32109f5da9a29a9e6 /drivers/gpu/drm/i915/gvt/gvt.h
parente473405783c064a9d859d108010581bae8e9af40 (diff)
downloadlinux-4b63960ebd3f4c41caca6a8dca68751b34e61e9b.tar.bz2
drm/i915/gvt: vGPU schedule policy framework
This patch introduces a vGPU schedule policy framework, with a timer based schedule policy module for now 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/gvt/gvt.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/gvt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index ae716cf22f69..6d37468631b7 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -43,6 +43,7 @@
#include "edid.h"
#include "execlist.h"
#include "scheduler.h"
+#include "sched_policy.h"
#define GVT_MAX_VGPU 8
@@ -139,6 +140,7 @@ struct intel_vgpu {
unsigned long handle; /* vGPU handle used by hypervisor MPT modules */
bool active;
bool resetting;
+ void *sched_data;
struct intel_vgpu_fence fence;
struct intel_vgpu_gm gm;