]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit261147947aec3e988dd1d4d73e5252639dd83961
treeec478262080fe664dccbe33bed2b6d33a28a2a50
parent353e11b7880d3121fe3f3934f457e4d7c3f6956f
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