From 9249542b11cf6c2075b1724883d242312d8ca1c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Molinari?= Date: Wed, 11 Feb 2026 13:57:18 +0100 Subject: [PATCH] pan/crc: Disable CRC on v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't set the CRC buffer pointer nor the row stride on v4. Even if the image props request Transaction Elimination, setting only these fields isn't enough to enable it. The CRC read/write enable fields would need to be appropriately set on the framebuffer descriptor too. Signed-off-by: Loïc Molinari --- src/panfrost/lib/pan_desc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/panfrost/lib/pan_desc.c b/src/panfrost/lib/pan_desc.c index 0c5c0893ac5..7f685b675d0 100644 --- a/src/panfrost/lib/pan_desc.c +++ b/src/panfrost/lib/pan_desc.c @@ -1499,11 +1499,6 @@ GENX(pan_emit_fbd)(const struct pan_fb_info *fb, unsigned layer_idx, DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED ? MALI_BLOCK_FORMAT_TILED_U_INTERLEAVED : MALI_BLOCK_FORMAT_LINEAR; - - if (pan_image_view_has_crc(rt)) { - cfg.crc_buffer.row_stride = slayout->crc.stride_B; - cfg.crc_buffer.base = plane->base + slayout->crc.offset_B; - } } if (fb->zs.view.zs) {