mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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> (cherry picked from commit19849a6501)
This commit is contained in:
parent
0c5b2aa429
commit
3c35559eaf
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@
|
|||
"description": "panfrost: Fix indirect draws",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "ff3eada7eb4e4df0abe93ee76b77101f9d24e72c"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue