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

Nick Hoath nicholas.hoath at intel.com
Tue Oct 20 02:23:50 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 requests), so
that the mappings aren't released/made continuously as this is
an expensive process.

V2: Removed unecessary changes in the lrc retiring code path
    Removed unecessary map/unmap

Nick Hoath (6):
  drm/i195: Rename gt_irq_handler variable
  drm/i915: Break out common code from gen8_gt_irq_handler
  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         |  10 ++-
 drivers/gpu/drm/i915/i915_gem.c         |  26 +++----
 drivers/gpu/drm/i915/i915_gem_gtt.c     |   8 +++
 drivers/gpu/drm/i915/i915_irq.c         |  67 ++++++++---------
 drivers/gpu/drm/i915/intel_lrc.c        | 123 +++++++++++++++++---------------
 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, 173 insertions(+), 152 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list