Skip to content

Further multi-gt handling

Matt Roper dri-devel intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Drop unnecessary helper function. (Janusz)
- Consolidate some adjacent GT loops (Daniele)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/gt: Cleanup partial engine discovery failuresdrivers/gpu/drm/i915/gt/intel_engine_cs.c+6 -11 reply
2/4drm/i915: Make GEM resume all enginesdrivers/gpu/drm/i915/gem/i915_gem_pm.c+20 -20 replies
3/4drm/i915: Make GEM suspend all GTsdrivers/gpu/drm/i915/gem/i915_gem_pm.c+9 -20 replies
4/4drm/i915: Handle all GTs on driver (un)load pathsdrivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/i915/i915_gem.c+33 -131 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndi ShytiJanusz Krzysztofik
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Further multi-gt handling

Now that MTL is going to start providing two GTs, there are a few more places in the driver that need to iterate over each GT instead of operating directly on gt0. Also some more deliberate cleanup is needed, in cases where we fail GT/engine initialization after the first GT has been fully setup.

v2:
- Drop unnecessary helper function. (Janusz)
- Consolidate some adjacent GT loops (Daniele)

Cc Daniele Ceraolo Spurio <[email protected]>
Cc Janusz Krzysztofik <[email protected]>

Chris Wilson (1):
drm/i915/gt: Cleanup partial engine discovery failures

Tvrtko Ursulin (3):
drm/i915: Make GEM resume all engines drm/i915: Make GEM suspend all GTs drm/i915: Handle all GTs on driver (un)load paths

 drivers/gpu/drm/i915/gem/i915_gem_pm.c    | 33 ++++++++++++++---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c |  7 +++-
 drivers/gpu/drm/i915/i915_driver.c        |  3 +-
 drivers/gpu/drm/i915/i915_gem.c           | 43 ++++++++++++++++-------
 4 files changed, 68 insertions(+), 18 deletions(-)
Signature · 1 line
2.37.3