Skip to content

panfrost: Reserve thread storage descriptor in panfrost_launch_grid()

Boris Brezillon requested to merge bbrezillon/mesa:midgard-fix-compute into master

If we don't do that the compute batch is left with an empty thread storage descriptor, and panfrost_batch_submit() tries to emit an FB descriptors using invalid FB information.

This patch should fix #4662 (closed).

/cc @italove @alyssa

Reported-by: Italo Nicola italonicola@collabora.com Fixes: ff3eada7 ("panfrost: Use the generic preload and FB helpers in the gallium driver") Signed-off-by: Boris Brezillon boris.brezillon@collabora.com

Edited by Boris Brezillon

Merge request reports