Skip to content

Support for more than two execlist ports

Mika Kuoppala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: Make own struct for execlist itemsdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gpu_error.c +5 more+134 -801 reply
2/8drm/i915: Wrap port cancellation into a functiondrivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/intel_engine_cs.c drivers/gpu/drm/i915/intel_lrc.c +1 more+17 -111 reply
3/8drm/i915: Add execlist_port_completedrivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/intel_lrc.c drivers/gpu/drm/i915/intel_ringbuffer.h+33 -211 reply
4/8drm/i915: Make execlist port count variabledrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c +3 more+58 -252 replies
5/8drm/i915: Introduce iterators for execlist portsdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_gpu_error.c drivers/gpu/drm/i915/intel_lrc.c +1 more+29 -222 replies
6/8drm/i915: Introduce execlist_port_* accessorsdrivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_engine_cs.c +2 more+57 -311 reply
7/8drm/i915: Move execlist initialization into intel_engine_cs.cdrivers/gpu/drm/i915/intel_engine_cs.c drivers/gpu/drm/i915/intel_lrc.c+15 -71 reply
8/8drm/i915: Keep track of reserved execlist portsdrivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_engine_cs.c +2 more+117 -6710 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchJoonas LahtinenChris Wilson
1/8A-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8
6/8
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Support for more than two execlist ports

Hi,

Here is a patchset to allow power-of-two number of execlist ports configurable at init time. The purpose is to support more than two ports (contexts) for guc submission.

I did few runs of gem_exec_nop and gem_exec_ctx on non guc paths to verify that these don't regress the hw submission path. I expected a neutral or minor negative effect but there is an improvement.

These needs to be rebased on top of Michał Winiarski's coalesced requests patch, but to get comments on the native side of handling and general approach, here it is.

-Mika

Mika Kuoppala (8):
drm/i915: Make own struct for execlist items drm/i915: Wrap port cancellation into a function drm/i915: Add execlist_port_complete
drm/i915: Make execlist port count variable drm/i915: Introduce iterators for execlist ports drm/i915: Introduce execlist_port_* accessors drm/i915: Move execlist initialization into intel_engine_cs.c drm/i915: Keep track of reserved execlist ports

 drivers/gpu/drm/i915/i915_debugfs.c        |   9 +-
 drivers/gpu/drm/i915/i915_drv.h            |   3 +-
 drivers/gpu/drm/i915/i915_gem.c            |  17 ++-
 drivers/gpu/drm/i915/i915_gpu_error.c      |  18 ++-
 drivers/gpu/drm/i915/i915_guc_submission.c |  59 ++++++----
 drivers/gpu/drm/i915/i915_irq.c            |   5 +-
 drivers/gpu/drm/i915/intel_engine_cs.c     |  39 +++++--
 drivers/gpu/drm/i915/intel_lrc.c           | 159 ++++++++++++++------------
 drivers/gpu/drm/i915/intel_ringbuffer.h    | 173 +++++++++++++++++++++++++----
 9 files changed, 339 insertions(+), 143 deletions(-)
Signature · 6 lines
2.11.0

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