Skip to content

panfrost: Disable CRC at <16x16 tile sizes

Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/fix-6332 into main
The hardware writes one CRC per (effective) tile, the tile size of the CRC
buffer is the same as the configured effective tile size. However, all our CRC
infrastructure assumes 16x16 tiles. In case CRC is used with smaller tiles,
buffer overflows and incorrect rendering are all possible. Don't use CRC at
smaller tile sizes. Note disabling CRC correctly invalidates any bound CRC
buffers.

Fixes: 2e97d7c8 ("panfrost: Transaction elimination support") Closes: #6332 (closed)

Edited by Alyssa Rosenzweig

Merge request reports