drm/i915/gvt: vGPU context switch
authorZhi Wang <zhi.a.wang@intel.com>
Sun, 1 May 2016 23:02:37 +0000 (19:02 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 14 Oct 2016 10:15:13 +0000 (18:15 +0800)
commit178657139307126b22d226df0823223d6dfe91ba
treeeb13d8f36a7e082583c259bd40cc2b7afa4932ac
parent4b63960ebd3f4c41caca6a8dca68751b34e61e9b
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>
drivers/gpu/drm/i915/gvt/Makefile
drivers/gpu/drm/i915/gvt/debug.h
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/render.c [new file with mode: 0644]
drivers/gpu/drm/i915/gvt/render.h [new file with mode: 0644]
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/gvt/vgpu.c