[RFC PATCH 00/12] AubCrash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AubCrash is a companion to i915_gpu_error. It gives us the possibility to
dump an AUB file that describes the state of the system at the point of
the crash (GTTs, contexts, BBs, BOs, etc...). Being an AUB file, it can be
used by a number of already existing tools (graphical AUB file browsers,
simulators, emulators, etc...) that facilitate debugging (an improvement
over the current text-based crash dump).

Oscar Mateo (12):
  drm/i915: New define for the number of PDPEs per PDP in a 4-level walk
  drm/i915: Move the context switch status reason bits to the header
  drm/i915: Store the GGTT Stolen Memory base physical address
  drm/i915: Capture some extra small details in the GPU error state
  drm/i915: Capture the renderstate batchbuffer
  drm/i915: Provide a way to write binary data to the error dump file
  drm/i915: Skeleton for AubCrash
  drm/i915: Capture the PPGTT pagetables on a GPU crash
  drm/i915: Store PTE information together with the error object pages
  drm/i915: Always add BOs to capture list if AubCrash is enabled
  drm/i915: Add an AUB file format writer
  drm/i915: Actually write the AUB file

 drivers/gpu/drm/i915/Kconfig                   |   8 +
 drivers/gpu/drm/i915/Makefile                  |   1 +
 drivers/gpu/drm/i915/i915_aubcrash.c           | 436 ++++++++++++++++
 drivers/gpu/drm/i915/i915_aubcrash.h           |  79 +++
 drivers/gpu/drm/i915/i915_aubmemtrace.c        | 665 +++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_aubmemtrace.h        |  76 +++
 drivers/gpu/drm/i915/i915_aubmemtrace_format.h | 359 +++++++++++++
 drivers/gpu/drm/i915/i915_debugfs.c            |  49 +-
 drivers/gpu/drm/i915/i915_drv.h                |  20 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c     |   4 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c            |   1 +
 drivers/gpu/drm/i915/i915_gem_gtt.h            |   4 +-
 drivers/gpu/drm/i915/i915_gem_render_state.c   |  11 +
 drivers/gpu/drm/i915/i915_gem_render_state.h   |   1 +
 drivers/gpu/drm/i915/i915_gpu_error.c          |  89 +++-
 drivers/gpu/drm/i915/i915_sysfs.c              |  54 +-
 drivers/gpu/drm/i915/intel_lrc.c               |  12 -
 drivers/gpu/drm/i915/intel_lrc.h               |  14 +
 18 files changed, 1833 insertions(+), 50 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_aubcrash.c
 create mode 100644 drivers/gpu/drm/i915/i915_aubcrash.h
 create mode 100644 drivers/gpu/drm/i915/i915_aubmemtrace.c
 create mode 100644 drivers/gpu/drm/i915/i915_aubmemtrace.h
 create mode 100644 drivers/gpu/drm/i915/i915_aubmemtrace_format.h

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux