panfrost: Fix indirect draws

Use panfrost_batch_reserve_tls() to reserve the TSD.

Cc: mesa-stable
Fixes: ff3eada7eb ("panfrost: Use the generic preload and FB helpers in the gallium driver")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10369>
This commit is contained in:
Boris Brezillon 2021-04-21 10:24:37 +02:00
parent ebc07f4b2f
commit 19849a6501
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ panfrost_indirect_draw(struct panfrost_context *ctx,
panfrost_batch_set_requirements(batch);
mali_ptr shared_mem = panfrost_batch_reserve_framebuffer(batch);
mali_ptr shared_mem = panfrost_batch_reserve_tls(batch, false);
struct panfrost_ptr tiler =
panfrost_pool_alloc_aligned(&batch->pool,