Skip to content

Capture more useful details in error state

Arun Siluvery intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 3 repliesIn review
  2. v15 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915/error: capture execlist state on errordrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+43 -20 replies
2/9drm/i915/error: capture ringbuffer pointed to by STARTdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+27 -110 replies
3/9drm/i915/error: report ctx id & desc for each request in the queuedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+30 -80 replies
4/9drm/i915/error: improve CSB reportingdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+58 -230 replies
5/9drm/i915/error: capture errored context based on request context-iddrivers/gpu/drm/i915/i915_gpu_error.c+3 -40 replies
6/9drm/i915/error: enhanced error capture of requestsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+22 -70 replies
7/9drm/i915/guc: Improve action error reportingdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/intel_guc.h+29 -170 replies
8/9drm/i915/error: add GuC state error capture & decodedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+111 -00 replies
9/9drm/i915/error: Capture WA ctx batch in error statedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+29 -14 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchMika Kuoppala
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9R-b R-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/9] Capture more useful details in error state

Few patches to capture more useful details in error state - these details include execlist state, csb events and their decoded form, GuC firmware fetch and load status, submission stats, WA ctx batch buffer.

GuC details are only captured if GuC submission is enabled.

Except WA ctx batch all other patches are already sent as part of preemption patch series but these are independent patches; it may take a while before preemption patches are reviewed, merged but these patches can be useful now so extracted them from that series.

Example output looks like this,

EXECLIST_STATUS: 0x00000301
EXECLIST_CTX_ID: 0x00000000
EXECLIST_CSBPTR: 0x00000505
EXECLIST_CSB_WR: 5
EXECLIST_CSB_RD: 5

  EXECLIST_CTX/CSB[0]: 0x000.00000 / 0x00000001 | I->A |      |      |      |      |      |     
  EXECLIST_CTX/CSB[1]: 0x000.00a33 / 0x00000018 |      |      |      | A->I | DONE |      |     
  EXECLIST_CTX/CSB[2]: 0x000.00000 / 0x00000001 | I->A |      |      |      |      |      |     
  EXECLIST_CTX/CSB[3]: 0x000.00a33 / 0x00000018 |      |      |      | A->I | DONE |      |     
  EXECLIST_CTX/CSB[4]: 0x000.00000 / 0x00000001 | I->A |      |      |      |      |      |     
  EXECLIST_CTX/CSB[5]: 0x000.00a33 / 0x00000018 |      |      |      | A->I | DONE |      |     

v1: http://www.spinics.net/lists/intel-gfx/msg86671.html

Arun Siluvery (1):
drm/i915/error: Capture WA ctx batch in error state

Dave Gordon (8):
drm/i915/error: capture execlist state on error drm/i915/error: capture ringbuffer pointed to by START drm/i915/error: report ctx id & desc for each request in the queue drm/i915/error: improve CSB reporting
drm/i915/error: capture errored context based on request context-id drm/i915/error: enhanced error capture of requests drm/i915/guc: Improve action error reporting drm/i915/error: add GuC state error capture & decode

 drivers/gpu/drm/i915/i915_debugfs.c        |  17 +-
 drivers/gpu/drm/i915/i915_drv.h            |  24 ++-
 drivers/gpu/drm/i915/i915_gpu_error.c      | 299 ++++++++++++++++++++++++++---
 drivers/gpu/drm/i915/i915_guc_submission.c |  20 +-
 drivers/gpu/drm/i915/intel_guc.h           |   9 +-
 5 files changed, 324 insertions(+), 45 deletions(-)
Signature · 6 lines
1.9.1

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