[Intel-gfx] [PATCH 0/4] lrc lifecycle cleanups

Nick Hoath nicholas.hoath at intel.com
Tue Oct 6 07:52:00 PDT 2015


These changes are a result of the requests made in VIZ-4277.
Make the lrc path more like the legacy submission path.
Attach the CPU mappings to vma (un)bind, so that the shrinker
also cleans those up.
Pin the CPU mappings while context is busy (pending bbs), so
that the mappings aren't released/made continuously as this is
an expensive process.

Nick Hoath (4):
  drm/i915: Unify execlist and legacy request life-cycles
  drm/i915: Improve dynamic management/eviction of lrc backing objects
  drm/i915: Add the CPU mapping of the hw context to the pinned items.
  drm/i915: Only update ringbuf address when necessary

 drivers/gpu/drm/i915/i915_debugfs.c     |  14 ++--
 drivers/gpu/drm/i915/i915_drv.h         |  14 +++-
 drivers/gpu/drm/i915/i915_gem.c         |  70 +++++++++++++----
 drivers/gpu/drm/i915/i915_gem_gtt.c     |   8 ++
 drivers/gpu/drm/i915/i915_irq.c         |  81 +++++++++++++-------
 drivers/gpu/drm/i915/intel_lrc.c        | 131 ++++++++++++++++++--------------
 drivers/gpu/drm/i915/intel_lrc.h        |   2 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c |  71 +++++++++--------
 drivers/gpu/drm/i915/intel_ringbuffer.h |   4 -
 9 files changed, 250 insertions(+), 145 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list