r600/eg: add support for tracing IBs after a hang.
authorDave Airlie <airlied@redhat.com>
Tue, 9 May 2017 05:47:12 +0000 (15:47 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Jun 2017 01:20:11 +0000 (11:20 +1000)
commitf42fb0012a04576884f7dcf227df640ed60d9655
treedbd90387dae6c1b987210573174e8e5e4aefffad
parent55d1550d352fd9ef820311a5a08815685e42f3d7
r600/eg: add support for tracing IBs after a hang.

This is a poor man's version of radeonsi ddebug stuff, this
should get hooked into that infrastructure, and grow more stuff,
but for now, just create R600_TRACE var that points to a file
that you want to dump the last IB to.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/Makefile.am
src/gallium/drivers/r600/Makefile.sources
src/gallium/drivers/r600/eg_debug.c [new file with mode: 0644]
src/gallium/drivers/r600/egd_tables.py [new file with mode: 0644]
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c