Skip to content

lrc lifecycle cleanups

Nick Hoath intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i195: Rename gt_irq_handler variabledrivers/gpu/drm/i915/i915_irq.c+23 -230 replies
2/6drm/i915: Break out common code from gen8_gt_irq_handlerdrivers/gpu/drm/i915/i915_irq.c+20 -202 replies
3/6drm/i915: Unify execlist and legacy request life-cyclesdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_irq.c +3 more+21 -591 reply
4/6drm/i915: Improve dynamic management/eviction of lrc backing objectsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gem_gtt.c +3 more+79 -381 reply
5/6drm/i915: Add the CPU mapping of the hw context to the pinned items.drivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_lrc.c+40 -241 reply
6/6drm/i915: Only update ringbuf address when necessarydrivers/gpu/drm/i915/intel_lrc.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] lrc lifecycle cleanups

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(-)
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx