Skip to content

Fix stealing guc_ids + test

Matthew Brost dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915/guc: Use correct context lock when callig clr_context_registereddrivers/gpu/drm/i915/gt/uc/intel_guc_submission.c+2 -20 replies
2/7drm/i915/guc: Only assign guc_id.id when stealing guc_iddrivers/gpu/drm/i915/gt/uc/intel_guc_submission.c+1 -10 replies
3/7drm/i915/guc: Remove racey GEM_BUG_ONdrivers/gpu/drm/i915/gt/uc/intel_guc_submission.c+0 -20 replies
4/7drm/i915/guc: Don't hog IRQs when destroying contextsdrivers/gpu/drm/i915/gt/uc/intel_guc_submission.c+28 -170 replies
5/7drm/i915/guc: Add extra debug on CT deadlockdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+9 -00 replies
6/7drm/i915/guc: Kick G2H tasklet if no creditsdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+8 -11 reply
7/7drm/i915/guc: Selftest for stealing of guc idsdrivers/gpu/drm/i915/gt/uc/intel_guc.h drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c drivers/gpu/drm/i915/gt/uc/selftest_guc.c+196 -52 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchDaniele Ceraolo SpurioMatthew BrostJohn Harrison
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] Fix stealing guc_ids + test

Patches 1 & 2 address bugs in stealing of guc_ids and patch 7 tests this path.

Patches 4-6 address some issues with the CTs exposed by the selftest in patch 7. Basically if a lot of contexts were all deregistered all at once, the CT channel could deadlock.

Patch 3 is a small fix that is already review but just included for CI.

v2: Address comments, resend for CI

John Harrison (1):
drm/i915/guc: Don't hog IRQs when destroying contexts

Matthew Brost (6):
drm/i915/guc: Use correct context lock when callig
clr_context_registered
drm/i915/guc: Only assign guc_id.id when stealing guc_id drm/i915/guc: Remove racey GEM_BUG_ON drm/i915/guc: Add extra debug on CT deadlock drm/i915/guc: Kick G2H tasklet if no credits drm/i915/guc: Selftest for stealing of guc ids

 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  12 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c     |  18 +-
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  69 ++++---
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c     | 173 ++++++++++++++++++
 4 files changed, 244 insertions(+), 28 deletions(-)
Signature · 1 line
2.33.1