[Mesa-dev] [PATCH 00/20] intel/error2aub: place all buffers (GGTT/PPGTT)

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Sep 25 08:23:39 UTC 2018

Hi all,

This series is adding support for placing all of the buffers reported
by the i915 error state. The idea is to produce an aub file complete
enough that it could be used to replay the last execbuffer that
triggered a hang. In particular we want to place the GGTT buffers
containing the logical ring buffer and the context image of the
context that triggered the hang.


Lionel Landwerlin (20):
  intel/aub_read: handle video engine execlists writes
  intel/aub_write: split comment section from HW setup
  intel/aub_write: write header in init
  intel/aub_write: break execlist write in 2
  intel/aub_write: switch to use i915_drm engine classes
  intel/aub_write: log mmio writes
  intel/aub_write: store the physical page allocator in struct
  intel/aub_write: turn context images arrays into functions
  intel/aub_write: factorize context image/pphwsp/ring creation
  intel/error2aub: build a list of BOs before writing them
  intel/error2aub: identify buffers by engine
  intel/error2aub: strenghten batchbuffer identifier marker
  intel/error2aub: parse other buffer types
  intel/error2aub: annotate buffer with their address space
  intel/error2aub: store engine last ring buffer head/tail pointers
  intel/error2aub: write GGTT buffers into the aub file
  intel/error2aub: add a verbose option
  intel/error2aub: deal with GuC log buffer
  intel/aub_viewer: add page editor from pml4 view
  intel/aub_viewer: make pphwsp/context image visible

 src/intel/tools/aub_read.c           |  23 ++
 src/intel/tools/aub_read.h           |   3 +
 src/intel/tools/aub_write.c          | 531 +++++++++++++++++----------
 src/intel/tools/aub_write.h          |  20 +-
 src/intel/tools/aubinator_viewer.cpp |  90 +++--
 src/intel/tools/error2aub.c          | 338 +++++++++++++----
 src/intel/tools/gen10_context.h      | 253 +++++++------
 src/intel/tools/gen8_context.h       | 231 ++++++------
 src/intel/tools/gen_context.h        |  35 +-
 src/intel/tools/intel_dump_gpu.c     |  28 +-
 10 files changed, 1015 insertions(+), 537 deletions(-)


More information about the mesa-dev mailing list