radeonsi: add IB tracing support for debug contexts
authorMarek Olšák <marek.olsak@amd.com>
Wed, 19 Aug 2015 09:53:25 +0000 (11:53 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Aug 2015 17:25:19 +0000 (19:25 +0200)
commit2c14a6d3b1c53d5814414ce9e91fd8d24c90b787
tree86e88808c7bed71d6a1716fbaaf46dec6d7539e1
parent189953ee13ad7d6b5d9d04ac21a230e8137a700d
radeonsi: add IB tracing support for debug contexts

This adds trace points to all IBs and the parser prints them and also
prints which trace points were reached (executed) by the CP.
This can help pinpoint a problematic packet, draw call, etc.

Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_debug.c
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c