From: Alyssa Rosenzweig Date: Sat, 18 Mar 2023 18:30:31 +0000 (-0400) Subject: asahi/decode: Remove agxdecode_dump_bo X-Git-Tag: upstream/23.3.3~10336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bbd8b502a24587bcd58745424b18068c4a088e0;p=platform%2Fupstream%2Fmesa.git asahi/decode: Remove agxdecode_dump_bo Now that we have proper parsing this is more of a nuissance than not. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/asahi/lib/decode.c b/src/asahi/lib/decode.c index 074b98e..9e70807 100644 --- a/src/asahi/lib/decode.c +++ b/src/asahi/lib/decode.c @@ -254,14 +254,6 @@ agxdecode_map_read_write(void) 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); @@ -283,8 +275,6 @@ agxdecode_stateful(uint64_t va, const char *label, decode_cmd decoder, 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) {