commit | d8deb1eb6a2244e765a1789c87b32ff43bd5349c | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Mon Aug 17 13:14:54 2020 -0400 |
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | Thu Aug 20 18:15:00 2020 +0200 |
tree | 55bb31accf72c51eed946e951c62dcb6aae16a8c | |
parent | 01d12c353e2d6cbfff11c566940b3f68f7ac11b3 [diff] |
panfrost: Share tiler_heap across batches/contexts There's only one tiler, so this is safe. (The blob does the same optimization.) This avoids allocating multiple heaps for multiple batches, which wastes memory and CPU time. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373>