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

Christian König deathsimple at vodafone.de
Mon Mar 25 10:12:24 PDT 2013


Am 25.03.2013 17:50, schrieb Jerome Glisse:
> 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.

Ok, well then it makes no sense that you increment the counter only once 
per flush.

Christian.


More information about the mesa-dev mailing list