[PATCH umr 2/2] print data values for WRITE_DATA packet

Xiaojie Yuan xiaojie.yuan at amd.com
Fri Feb 14 14:50:34 UTC 2020


Signed-off-by: Xiaojie Yuan <xiaojie.yuan 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 863cb4f..47256cf 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -673,7 +673,7 @@ static void print_decode_pm4_pkt3(struct umr_asic *asic, struct umr_ring_decoder
 						if (!decoder->pm4.next_write_mem.addr_lo)
 							decoder->pm4.next_write_mem.addr_hi++;
 					} else {
-						printf("DATA");
+						printf("DATA: %s%08lx%s", YELLOW, (unsigned long)ib, RST);
 					}
 			}
 			break;
-- 
2.20.1



More information about the amd-gfx mailing list