[PATCH v2 00/15] drm/i915/gvt: Refine the gtt shadowing

changbin.du at intel.com changbin.du at intel.com
Tue Jan 2 08:29:31 UTC 2018


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

This is the first part of patch set "drm/i915/gvt: Add support for huge gtt
(2M/64K)". The GTT related code are refined. I just need a clean code base to
add new feature.

v2: Some new small patches are created by spliting changes from the two big ones.

Changbin Du (15):
  drm/i915/gvt: Rework shadow graphic memory management code
  drm/i915/gvt: Use 64bit array to represent pdps
  drm/i915/gvt: Refine the intel_vgpu_mm reference management
  drm/i915/gvt: Refine ggtt and ppgtt root entry ops
  drm/i915/gvt: Refine ggtt_set_shadow_entry
  drm/i915/gvt: Add verbose gtt shadow logs
  drm/i915/gvt: Rename ggtt related functions to be more specific
  drm/i915/gvt: Factor out
    intel_vgpu_{get_or_create_ppgtt_mm,find_destroy_ppgtt_mm} interfaces
  drm/i915/gvt: Use standard pte bit definition
  drm/i915/gvt: Refine pte shadowing process
  drm/i915/gvt: Rework shadow page management code
  drm/i915/gvt: Rename shadow_page to short name spt
  drm/i915/gvt: Don't extend page_track to mpt layer
  drm/i915/gvt: Provide generic page_track infrastructure for
    write-protected page
  drm/i915/gvt: Manage shadow pages with radix tree

 drivers/gpu/drm/i915/gvt/Makefile     |    2 +-
 drivers/gpu/drm/i915/gvt/gtt.c        | 1415 +++++++++++++++------------------
 drivers/gpu/drm/i915/gvt/gtt.h        |  184 ++---
 drivers/gpu/drm/i915/gvt/gvt.c        |    2 +-
 drivers/gpu/drm/i915/gvt/gvt.h        |    2 +
 drivers/gpu/drm/i915/gvt/handlers.c   |   18 +-
 drivers/gpu/drm/i915/gvt/mmio.c       |    9 +-
 drivers/gpu/drm/i915/gvt/mpt.h        |   42 +-
 drivers/gpu/drm/i915/gvt/page_track.c |  181 +++++
 drivers/gpu/drm/i915/gvt/page_track.h |   56 ++
 drivers/gpu/drm/i915/gvt/scheduler.c  |   48 +-
 drivers/gpu/drm/i915/gvt/trace.h      |   10 +-
 drivers/gpu/drm/i915/gvt/vgpu.c       |    1 +
 13 files changed, 983 insertions(+), 987 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gvt/page_track.c
 create mode 100644 drivers/gpu/drm/i915/gvt/page_track.h

-- 
2.7.4



More information about the intel-gvt-dev mailing list