pan/crc: Disable CRC on v4

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 <loic.molinari@collabora.com>
This commit is contained in:
Loïc Molinari 2026-02-11 13:57:18 +01:00
parent a4bd10c773
commit 9249542b11

View file

@ -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) {