[Intel-gfx] [PATCH v2 0/9] Capture more useful details in error state

Arun Siluvery arun.siluvery at linux.intel.com
Wed Feb 10 15:50:01 UTC 2016


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(-)

-- 
1.9.1



More information about the Intel-gfx mailing list