Simple tidy up of PKT0 data printout.
PATCH 1/1 Simple tidy up of PKT0 data printout.
Makes it more obvious which lines of output are the data and not headers for PKT0 format packets.
Signed-off-by Tom St Denis <[email protected]>
--- src/lib/ring_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/ring_decode.c +1 -1
@@ -584,7 +584,7 @@ static void print_decode_pm4(struct umr_asic *asic, struct umr_ring_decoder *decreturn ;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
Signature · 6 lines
2.12.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx