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:
parent
ebc07f4b2f
commit
19849a6501
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue