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 Latest4 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/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+118 -8213 replies
2/4drm/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 -385 replies
3/4drm/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+50 -241 reply
4/4drm/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/4] 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 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(-)
Signature · 6 lines
1.9.1

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