freedreno/crashdec: Quiet spammy print in query mode

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12489>
This commit is contained in:
Rob Clark 2021-08-20 13:46:03 -07:00 committed by Marge Bot
parent dbea4bb970
commit d889f5f282
1 changed files with 4 additions and 1 deletions

View File

@ -2616,7 +2616,10 @@ cp_set_ctxswitch_ib(uint32_t *dwords, uint32_t sizedwords, int level)
addr = dwords[0] | ((uint64_t)dwords[1] << 32);
printf("addr=%" PRIx64 "\n", addr);
if (!quiet(3)) {
printf("%saddr=%" PRIx64 "\n", levels[level], addr);
}
ptr = hostptr(addr);
if (ptr) {
dump_commands(ptr, size, level + 1);