[Mesa-dev] [PATCH] radeonsi: add cs tracing

Jerome Glisse j.glisse at gmail.com
Mon Mar 25 09:50:55 PDT 2013

On Mon, Mar 25, 2013 at 12:38 PM, Christian König
<deathsimple at vodafone.de> wrote:
> Am 25.03.2013 17:01, schrieb j.glisse at gmail.com:
>> From: Jerome Glisse <jglisse at redhat.com>
>> 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.
>> Signed-off-by: Jerome Glisse <jglisse at redhat.com>
> Could your rewrite this to use an si_pm4_state instead of hand coding it?
> It's cleaner and should reduce the needed code quite a bit.
> Christian.

Well no, the whole point is to emit inside each si_pm4_state_emit so
that you can pin point which reg/packet trigger the lockup.


More information about the mesa-dev mailing list