radeonsi: don't print bodies of header-only packets
authorMarek Olšák <marek.olsak@amd.com>
Wed, 23 Nov 2016 22:28:53 +0000 (23:28 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 29 Nov 2016 22:52:31 +0000 (23:52 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_debug.c

index 26763a873e0b259d7a56514afa528d70cae18165..b2c3574f1f2556905e84abf2e30e90b4740d547b 100644 (file)
@@ -368,6 +368,10 @@ static uint32_t *si_parse_packet3(FILE *f, uint32_t *ib, int *num_dw,
                si_dump_reg(f, R_3F1_IB_BASE_HI, ib[2], ~0);
                si_dump_reg(f, R_3F2_CONTROL, ib[3], ~0);
                break;
+       case PKT3_CLEAR_STATE:
+       case PKT3_INCREMENT_DE_COUNTER:
+       case PKT3_PFP_SYNC_ME:
+               break;
        case PKT3_NOP:
                if (ib[0] == 0xffff1000) {
                        count = -1; /* One dword NOP. */