[PATCH v4 0/3] drm/i915/gvt: optimizaton on shadow context population

Yan Zhao yan.y.zhao at intel.com
Wed Apr 15 07:53:55 UTC 2020


This patchset skips population of shadow contexts if their corresponding
guest contexts are known not changed.

patch 1 implements the skipping logic, though intentionally disabled the
skip.
patch 2 checks ggtt entry to verify guest contexts are not changed.
patch 3 turns on the skipping logic

Yan Zhao (3):
  drm/i915/gvt: skip populate shadow context if guest context not
    changed
  drm/i915/gvt: check ggtt entry modification status for guest ctxs
  drm/i915/gvt: turn on shadow context skipping

 drivers/gpu/drm/i915/gvt/gtt.c       | 17 ++++++++++++++
 drivers/gpu/drm/i915/gvt/gvt.h       |  5 ++++
 drivers/gpu/drm/i915/gvt/scheduler.c | 35 ++++++++++++++++++++++++----
 3 files changed, 52 insertions(+), 5 deletions(-)

-- 
2.17.1



More information about the intel-gvt-dev mailing list