[PATCH v4 0/3] init mmio by lri command in vgpu inhibit context

Weinan Li weinan.z.li at intel.com
Tue Feb 13 05:24:30 UTC 2018


This patch set contains 3 patches, the 1st and 2nd both are code refine,
the 2nd patch is the fix for getting back incorrect default context, use
lri command to initialize the mmio for inhibit context. With wrong default
context, vgpu will run with unexpected state, unknown issues may be
occurred.

v2:
- separate these patches from patch set(Zhenyu)

v3:
- fix code fault, use 'for' to loop through mmio render list(Zhenyu)

v4:
- save the count of engine mmio need to be restored for inhibit context and
  refine some comments. (Kevin)

Weinan Li (3):
  drm/i915/gvt: add define GEN9_MOCS_SIZE
  drm/i915/gvt: add interface to check if context is inhibit
  drm/i915/gvt: init mmio by lri command in vgpu inhibit context

 drivers/gpu/drm/i915/gvt/gvt.h          |   5 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c | 210 +++++++++++++++++++++++++++++---
 drivers/gpu/drm/i915/gvt/mmio_context.h |   5 +
 drivers/gpu/drm/i915/gvt/scheduler.c    |   5 +
 4 files changed, 205 insertions(+), 20 deletions(-)

-- 
1.9.1



More information about the intel-gvt-dev mailing list