mesa/src/asahi
Asahi Lina 6ad64387dd asahi: Do not use memctx for pools / meta cache
ralloc is not thread-safe, so we can't use dev->memctx for allocating
context-specific things without locking. On top of that, we always
need to explicitly clean up pools anyway since we need to unref the BOs,
so there is no point to using a memctx.

And since pools need to be explicitly cleaned up, the meta cache code
needs explicit cleanup, so add that and drop memctx from there too.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21348>
2023-02-15 22:16:51 +00:00
..
compiler agx: Write sample mask even with no colour output 2023-02-13 11:28:07 +00:00
drm-shim asahi: Clang-format the subtree 2022-12-27 22:46:29 +00:00
layout ail: Test 63x63 cube map 2023-02-04 07:04:49 +00:00
lib asahi: Do not use memctx for pools / meta cache 2023-02-15 22:16:51 +00:00
.clang-format asahi: Add .clang-format file 2022-12-27 22:46:29 +00:00
meson.build asahi: Add drm-shim implementation 2022-11-07 16:10:11 +00:00