]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: rewrite gt reset handler using new function intel_gvt_reset_vgpu_locked
authorChangbin Du <changbin.du@intel.com>
Fri, 13 Jan 2017 03:16:03 +0000 (11:16 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 13 Jan 2017 07:05:38 +0000 (15:05 +0800)
commited8d8bc1cfcdc805a760904271931177382fde08
tree83604c0527619d0add7431720f4412347fa1d6da
parentb369748b4fac1f88131d4d62fe87c038629cf82d
drm/i915/gvt: rewrite gt reset handler using new function intel_gvt_reset_vgpu_locked

GT reset and FLR share some operations and they are both implemented in
our new function intel_gvt_reset_vgpu_locked(). This patch rewrite the
gt reset handler using this new function.

Besides, this new implementation fixed the old issue in GT reset. The
old implementation reset GGTT entries which is illegal. We only clear
GGTT entries at PCI level reset.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c