From 716be7862e85da132df832650b30124bd8a83493 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 12 Aug 2019 11:07:00 -0700 Subject: [PATCH] pan/decode: Dump FBD tagged pointer Turns out the rt count is stuffed in here.. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/pandecode/decode.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 861000133c1..2441eef7c87 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2290,10 +2290,15 @@ pandecode_fragment_job(const struct pandecode_mapped_memory *mem, const char *fbd_type = s->framebuffer & MALI_MFBD ? "MALI_MFBD" : "MALI_SFBD"; + /* TODO: Decode */ + unsigned extra_flags = (s->framebuffer & ~FBD_MASK) & ~MALI_MFBD; + if (fbd_dumped) - pandecode_prop("framebuffer = framebuffer_%d_p | %s", job_no, fbd_type); + pandecode_prop("framebuffer = framebuffer_%d_p | %s | 0x%X", job_no, + fbd_type, extra_flags); else - pandecode_prop("framebuffer = %s | %s", pointer_as_memory_reference(p), fbd_type); + pandecode_prop("framebuffer = %s | %s | 0x%X", pointer_as_memory_reference(p), + fbd_type, extra_flags); pandecode_indent--; pandecode_log("};\n"); -- 2.30.2