amd: add proper definitions for NOP packets
[mesa.git] / src / amd / common / ac_debug.c
index 77c0e0aa790cd13046d8d7e23ae0ebed06941cce..b81897811a143ac374548ab4e1ea166ba719e2f3 100644 (file)
@@ -441,7 +441,7 @@ static void ac_parse_packet3(FILE *f, uint32_t header, struct ac_ib_parser *ib,
        case PKT3_PFP_SYNC_ME:
                break;
        case PKT3_NOP:
-               if (header == 0xffff1000) {
+               if (header == PKT3_NOP_PAD) {
                        count = -1; /* One dword NOP. */
                } else if (count == 0 && ib->cur_dw < ib->num_dw &&
                           AC_IS_TRACE_POINT(ib->ib[ib->cur_dw])) {