radeonsi: add cs tracing v3
authorJerome Glisse <jglisse@redhat.com>
Mon, 25 Mar 2013 15:46:38 +0000 (11:46 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 27 Mar 2013 15:38:02 +0000 (11:38 -0400)
commit3f7d9710e8f128c6bf6da3a87789afac8524ccd7
treedff5d9c4ae9d5acd6aeec9f91239814fa02739d6
parent21a2dfa55d7a797022de267efbfebaf630940c13
radeonsi: add cs tracing v3

Same as on r600, trace cs execution by writting cs offset after each
states, this allow to pin point lockup inside command stream and
narrow down the scope of lockup investigation.

v2: Use WRITE_DATA packet instead of WRITE_MEM
v3: Remove useless nop packet

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/radeonsi/r600_hw_context.c
src/gallium/drivers/radeonsi/radeonsi_pipe.c
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/radeonsi_pm4.c
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/sid.h