From: Tomeu Vizoso Date: Tue, 25 Jun 2019 06:21:15 +0000 (+0200) Subject: panfrost/decode: Print AFBC struct when appropriate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b26c2b48405e58d0446caf535752cef80140405b;p=mesa.git panfrost/decode: Print AFBC struct when appropriate Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pandecode/decode.c b/src/gallium/drivers/panfrost/pandecode/decode.c index 6db56ee709a..8f96624872a 100644 --- a/src/gallium/drivers/panfrost/pandecode/decode.c +++ b/src/gallium/drivers/panfrost/pandecode/decode.c @@ -619,8 +619,7 @@ pandecode_render_target(uint64_t gpu_va, unsigned job_no, const struct bifrost_f pandecode_rt_format(rt->format); - /* TODO: How the actual heck does AFBC enabling work here? */ - if (0) { + if (rt->format.block == MALI_MFBD_BLOCK_AFBC) { pandecode_log(".afbc = {\n"); pandecode_indent++;