asahi/decode: Print VDM barriers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 18 Mar 2023 18:33:10 +0000 (14:33 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:03 +0000 (03:23 +0000)
Instead of just decoding silently.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>

src/asahi/lib/decode.c

index 9e70807..5756087 100644 (file)
@@ -552,7 +552,7 @@ agxdecode_vdm(const uint8_t *map, uint64_t *link, bool verbose,
 
    switch (block_type) {
    case AGX_VDM_BLOCK_TYPE_BARRIER: {
-      agx_unpack(agxdecode_dump_stream, map, VDM_BARRIER, cmd);
+      DUMP_CL(VDM_BARRIER, map, "Barrier");
       return AGX_VDM_BARRIER_LENGTH;
    }