[PATCH v2 00/14] drm/i915/gvt: Add huge gtt shadowing

changbin.du at intel.com changbin.du at intel.com
Tue Mar 27 07:57:51 UTC 2018


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

Add huge gtt shadowing for GVT.

v2:
  o fix comments from zhenyu.
  o rebase.

Changbin Du (14):
  drm/i915/gvt: Add new 64K entry type
  drm/i915/gvt: Add PTE IPS bit operations
  drm/i915/gvt: Handle MMIO GEN8_GAMW_ECO_DEV_RW_IA for 64K GTT
  drm/i915/gvt: Detect 64K gtt entry by IPS bit of PDE
  drm/i915/gvt: Add software PTE flag to mark special 64K splited entry
  drm/i915/gvt: Add GTT clear_pse operation
  drm/i915/gvt: Split ppgtt_alloc_spt into two parts
  drm/i915/gvt: Make PTE iterator 64K entry aware
  drm/i915/gvt: Add 64K huge gtt support
  drm/i915/kvmgt: Support setting dma map for huge pages
  drm/i915/gvt: Add 2M huge gtt support
  drm/i915/gvt: Handle special sequence on PDE IPS bit
  drm/i915/gvt: Fix error handling in ppgtt_populate_spt_by_guest_entry
  drm/i915: Enable platform support for vGPU huge gtt pages

 drivers/gpu/drm/i915/gvt/gtt.c       | 419 ++++++++++++++++++++++++++++++-----
 drivers/gpu/drm/i915/gvt/gtt.h       |   9 +
 drivers/gpu/drm/i915/gvt/handlers.c  |  16 +-
 drivers/gpu/drm/i915/gvt/hypercall.h |   2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c     |  84 ++++---
 drivers/gpu/drm/i915/gvt/mpt.h       |   7 +-
 drivers/gpu/drm/i915/gvt/vgpu.c      |   1 +
 drivers/gpu/drm/i915/i915_gem.c      |   8 +-
 drivers/gpu/drm/i915/i915_pvinfo.h   |   1 +
 drivers/gpu/drm/i915/i915_vgpu.h     |   6 +
 10 files changed, 459 insertions(+), 94 deletions(-)

-- 
2.7.4



More information about the intel-gvt-dev mailing list