[PATCH v2 0/6] drm/i915/gvt: Series to optimize GVT virtual MMIO handling

changbin.du at intel.com changbin.du at intel.com
Tue Jun 6 02:48:02 UTC 2017


From: Changbin Du <changbin.du at intel.com>

This series of optimization can save about 2MB memory, speed up guest
boot time by ~500ms, lower the hash talbe conflict from 140+ to ones
digit.

v2: Code improvments, fix comments string.

Changbin Du (6):
  drm/i915/gvt: Optimize MMIO register handling for some large MMIO
    blocks
  drm/i915/gvt: Cleanup struct intel_gvt_mmio_info
  drm/i915/gvt: Make mmio_attribute as type u8 to save 1.5MB memory
  drm/i915/gvt: Make the MMIO attribute wrappers be inline
  drm/i915/gvt: Add helper for tuning MMIO hash table
  drm/i915/gvt: Tuning the size of MMIO hash lookup table to 2048

 drivers/gpu/drm/i915/gvt/firmware.c |   9 +-
 drivers/gpu/drm/i915/gvt/gvt.h      |  83 +++++++++++-
 drivers/gpu/drm/i915/gvt/handlers.c | 252 ++++++++++++++++++++----------------
 drivers/gpu/drm/i915/gvt/mmio.c     |  86 +-----------
 drivers/gpu/drm/i915/gvt/mmio.h     |  24 ++--
 5 files changed, 236 insertions(+), 218 deletions(-)

-- 
2.7.4



More information about the intel-gvt-dev mailing list