panfrost: Increase the maximum tiler heap size

Required to avoid tiler heap out-of-memory condition on Valhall on tests
including:

dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_combined_grid_1200x1200_drawcount_8

This test passes on Bifrost without the fix because varyings are only allocated
from the tiler heap on Valhall.

Minimal perf or memory usage impacted is expected, as even old versions of
panfrost.ko support growable memory.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16330>
This commit is contained in:
Alyssa Rosenzweig 2022-05-04 12:16:27 -04:00 committed by Marge Bot
parent 7c5b242aec
commit 17c98393f9
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ panfrost_open_device(void *memctx, int fd, struct panfrost_device *dev)
* active for a single job chain at once, so a single heap can be
* shared across batches/contextes */
dev->tiler_heap = panfrost_bo_create(dev, 64 * 1024 * 1024,
dev->tiler_heap = panfrost_bo_create(dev, 128 * 1024 * 1024,
PAN_BO_INVISIBLE | PAN_BO_GROWABLE, "Tiler heap");
pthread_mutex_init(&dev->submit_lock, NULL);