unsigned agxdecode_indent = 0;
-static void
-agxdecode_dump_bo(struct agx_bo *bo, const char *name)
-{
- fprintf(agxdecode_dump_stream, "%s %s (%u)\n", name, bo->name ?: "",
- bo->handle);
- hexdump(agxdecode_dump_stream, bo->ptr.cpu, bo->size, false);
-}
-
/* Abstraction for command stream parsing */
typedef unsigned (*decode_cmd)(const uint8_t *map, uint64_t *link, bool verbose,
void *data);
uint8_t *end = (uint8_t *)alloc->ptr.cpu + alloc->size;
uint64_t link = 0;
- if (verbose)
- agxdecode_dump_bo(alloc, label);
fflush(agxdecode_dump_stream);
while (map < end) {