summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/debug.h
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2016-05-02 02:02:37 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2016-10-14 13:15:13 +0300
commit178657139307126b22d226df0823223d6dfe91ba (patch)
treeeb13d8f36a7e082583c259bd40cc2b7afa4932ac /drivers/gpu/drm/i915/gvt/debug.h
parent4b63960ebd3f4c41caca6a8dca68751b34e61e9b (diff)
downloadlinux-178657139307126b22d226df0823223d6dfe91ba.tar.xz
drm/i915/gvt: vGPU context switch
As different VM may configure different render MMIOs when executing workload, to schedule workloads between different VM, the render MMIOs have to be switched. 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 a3f49d544bdb..76e50eeef7f3 100644
--- a/drivers/gpu/drm/i915/gvt/debug.h
+++ b/drivers/gpu/drm/i915/gvt/debug.h
@@ -48,4 +48,7 @@
#define gvt_dbg_sched(fmt, args...) \
DRM_DEBUG_DRIVER("gvt: sched: "fmt, ##args)
+#define gvt_dbg_render(fmt, args...) \
+ DRM_DEBUG_DRIVER("gvt: render: "fmt, ##args)
+
#endif