freedreno/crashdec: Decode full RB in verbose mode
This is useful to get a better view of previous commands in the ringbuffer. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12489>
This commit is contained in:
@@ -345,6 +345,11 @@ dump_cmdstream(void)
|
||||
*/
|
||||
unsigned ringszdw = ringbuffers[id].size >> 2; /* in dwords */
|
||||
|
||||
if (verbose) {
|
||||
dump_commands(ringbuffers[id].buf, ringszdw, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
/* helper macro to deal with modulo size math: */
|
||||
#define mod_add(b, v) ((ringszdw + (int)(b) + (int)(v)) % ringszdw)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user