summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/debug.h
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2016-05-01 14:42:16 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2016-10-14 13:14:50 +0300
commite473405783c064a9d859d108010581bae8e9af40 (patch)
tree8c16c8763dbd90cd994ad530d02f64f98aa61718 /drivers/gpu/drm/i915/gvt/debug.h
parent28c4c6ca7f794b2d5ac8773d43311e95f6518415 (diff)
downloadlinux-e473405783c064a9d859d108010581bae8e9af40.tar.xz
drm/i915/gvt: vGPU workload scheduler
This patch introduces the vGPU workload scheduler routines. GVT workload scheduler is responsible for picking and executing GVT workload from current scheduled vGPU. Before the workload is submitted to host i915, the guest execlist context will be shadowed in the host GVT shadow context. the instructions in guest ring buffer will be copied into GVT shadow ring buffer. Then GVT-g workload scheduler will scan the instructions in guest ring buffer and submit it to host i915. 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/debug.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/debug.h b/drivers/gpu/drm/i915/gvt/debug.h
index a7e0e7956ee9..a3f49d544bdb 100644
--- a/drivers/gpu/drm/i915/gvt/debug.h
+++ b/drivers/gpu/drm/i915/gvt/debug.h
@@ -45,4 +45,7 @@
#define gvt_dbg_el(fmt, args...) \
DRM_DEBUG_DRIVER("gvt: el: "fmt, ##args)
+#define gvt_dbg_sched(fmt, args...) \
+ DRM_DEBUG_DRIVER("gvt: sched: "fmt, ##args)
+
#endif