From: Alyssa Rosenzweig Date: Mon, 12 Aug 2019 18:07:00 +0000 (-0700) Subject: pan/decode: Dump FBD tagged pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=716be7862e85da132df832650b30124bd8a83493;p=mesa.git pan/decode: Dump FBD tagged pointer Turns out the rt count is stuffed in here.. Signed-off-by: Alyssa Rosenzweig --- 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");