diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-12 11:07:00 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-14 16:42:40 -0700 |
commit | 716be7862e85da132df832650b30124bd8a83493 (patch) | |
tree | 96804eddff267c680c2e5638d2c786a10dc384b9 /src/panfrost | |
parent | 358372b256622569e292449238aa573051b7ab81 (diff) |
pan/decode: Dump FBD tagged pointer
Turns out the rt count is stuffed in here..
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 9 |
1 files 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"); |