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

Weinan Li weinan.z.li at intel.com
Mon Feb 12 07:07:35 UTC 2018


This patch set contains 3 patches, the 1st and 2nd both are code refine,
the 2rd patch is the fix for getting back uncorrect 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)
 
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/mmio_context.c | 192 +++++++++++++++++++++++++++++---
 drivers/gpu/drm/i915/gvt/mmio_context.h |   5 +
 drivers/gpu/drm/i915/gvt/scheduler.c    |  11 ++
 3 files changed, 195 insertions(+), 13 deletions(-)

-- 
1.9.1



More information about the intel-gvt-dev mailing list