panfrost: Increase tiler_heap max allocation to 64MB
We previously allocated only 16MB, but this isn't always enough. Now that we have growable (heap) on recent kernels, there's not much reason to try to shrink this allocation. Fixes OUT_OF_MEMORY fault on furmark trace. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10938>
This commit is contained in:
committed by
Marge Bot
parent
95337edcd7
commit
ac1ee2bebe
@@ -45,7 +45,7 @@ traces:
|
||||
- path: gputest/furmark.trace
|
||||
expectations:
|
||||
- device: gl-panfrost-t860
|
||||
checksum: dc4ece101ed145228840d1f0654118c6
|
||||
checksum: 2bde9efdddd92c28d29f744e36a226e9
|
||||
- path: gputest/triangle.trace
|
||||
expectations:
|
||||
- device: gl-panfrost-t860
|
||||
|
||||
@@ -258,7 +258,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, 4096 * 4096,
|
||||
dev->tiler_heap = panfrost_bo_create(dev, 64 * 1024 * 1024,
|
||||
PAN_BO_INVISIBLE | PAN_BO_GROWABLE, "Tiler heap");
|
||||
|
||||
pthread_mutex_init(&dev->submit_lock, NULL);
|
||||
|
||||
Reference in New Issue
Block a user