[Intel-gfx] [PATCH 0/3] mmio save restore refine in vgpu switch

Weinan Li weinan.z.li at intel.com
Thu Dec 7 04:34:36 UTC 2017


Merge switch_mmio_to_vgpu and switch_mmio_to_host, use delta update for
mocs save restore, deal host mocs value as fixed, it won't be changed after
initialization. These can save vgpu switch time to reduce CPU utilization
and improve GPU performance in GVT-g with multi-VMs.

Weinan Li (3):
  drm/i915/gvt: optimize for vGPU mmio switch
  drm/i915/gvt: refine mocs save restore policy
  drm/i915/gvt: load host render mocs once in mocs switch

 drivers/gpu/drm/i915/gvt/cmd_parser.c |  19 +++
 drivers/gpu/drm/i915/gvt/render.c     | 252 +++++++++++++++++-----------------
 drivers/gpu/drm/i915/gvt/trace.h      |  15 +-
 3 files changed, 152 insertions(+), 134 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list