drm/i915/gvt: add full vGPU reset support
authorPing Gao <ping.a.gao@intel.com>
Wed, 26 Oct 2016 01:38:52 +0000 (09:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 27 Oct 2016 03:20:19 +0000 (11:20 +0800)
commit23736d1b1b2321f7e4647d8d5f8ff16fab11d24f
treeec478262080fe664dccbe33bed2b6d33a28a2a50
parent0a8b66e3adbe302a02bb33e1a662416281ade616
drm/i915/gvt: add full vGPU reset support

Full vGPU reset need to release all the shadow PPGGT pages to avoid
unnecessary write-protect and also should re-initialize pvinfo after
resetting vregs to keep pvinfo correct.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/vgpu.c