r600g: add cs tracing infrastructure for lockup pin pointing
authorJerome Glisse <jglisse@redhat.com>
Wed, 19 Dec 2012 17:23:50 +0000 (12:23 -0500)
committerJerome Glisse <jglisse@redhat.com>
Thu, 20 Dec 2012 23:23:54 +0000 (18:23 -0500)
commite8ca1a53a625544ea30b394be905ff7e51d78af6
tree8e5b4ff3cc166c6645130dc4b0222a9b571a2cd9
parent6532eb17baff6e61b427f29e076883f8941ae664
r600g: add cs tracing infrastructure for lockup pin pointing

It's a build time option you need to set R600_TRACE_CS to 1 and it
will print to stderr all cs along as cs trace point value which
gave last offset into a cs process by the GPU.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_hw_context_priv.h
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c