[PATCH umr] Simple tidy up of PKT0 data printout.
Tom St Denis
tom.stdenis at amd.com
Thu Jul 13 13:58:00 UTC 2017
Makes it more obvious which lines of output are the data
and not headers for PKT0 format packets.
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
src/lib/ring_decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index d87d489b1e4a..c00300e4ced8 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -584,7 +584,7 @@ static void print_decode_pm4(struct umr_asic *asic, struct umr_ring_decoder *dec
return;
case 0x80000000:
name = umr_reg_name(asic, decoder->pm4.next_write_mem.addr_lo);
- printf("PKT0 %s(0x%lx) == %lx", name, (unsigned long)decoder->pm4.next_write_mem.addr_lo, (unsigned long)ib);
+ printf(" word (%lu): %s(0x%lx) <= 0x%lx", (unsigned long)decoder->pm4.cur_word++, name, (unsigned long)decoder->pm4.next_write_mem.addr_lo, (unsigned long)ib);
// detect VCN/UVD IBs and chain them once all
// 4 pieces of information are found
--
2.12.0
More information about the amd-gfx
mailing list