[PATCH v4 0/2] refine VM engine reset

Weinan Li weinan.z.li at intel.com
Fri Jan 26 07:09:06 UTC 2018


GVT-g should just reset the execlist state of the engine which trigger
reset from VM. First refine the intel_vgpu_submission_ops as per engine
ops, then only reset execlist state of one engine during VM engine reset.
Otherwise VM may keep wrong execlist state and be inconsistent with vreg in
host.

Weinan Li (2):
  drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops
  drm/i915/gvt: only reset execlist state of one engine during VM engine
        reset

 drivers/gpu/drm/i915/gvt/execlist.c     | 22 +++++++++++-----------
 drivers/gpu/drm/i915/gvt/gvt.h          |  4 ++--
 drivers/gpu/drm/i915/gvt/handlers.c     |  7 ++-----
 drivers/gpu/drm/i915/gvt/sched_policy.c | 14 ++++++++++++--
 drivers/gpu/drm/i915/gvt/scheduler.c    | 19 ++++++++++---------
 drivers/gpu/drm/i915/gvt/scheduler.h    |  1 +
 drivers/gpu/drm/i915/gvt/vgpu.c         |  3 +--
 7 files changed, 39 insertions(+), 31 deletions(-)

-- 
1.9.1



More information about the intel-gvt-dev mailing list