]> 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)
commita2740a15499275ac4f197f9e3bf15e1b17f4061c
tree83604c0527619d0add7431720f4412347fa1d6da
parentbbb55220e59713bfb99a2e27fb28ef6c0538a78c
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