From b26c2b48405e58d0446caf535752cef80140405b Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 25 Jun 2019 08:21:15 +0200 Subject: [PATCH] panfrost/decode: Print AFBC struct when appropriate Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pandecode/decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++; -- 2.30.2