asahi: Do not overallocate BOs by more than 2x
authorAsahi Lina <lina@asahilina.net>
Sat, 22 Jul 2023 09:33:09 +0000 (18:33 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:27 +0000 (20:31 +0000)
commit9762c55589999bd436d9d7a7a3e861867099d728
tree96205a585ad65cb219129e532af1c509c1e3e4aa
parent175e02baeda9db26af627bff0cb228c69a0fbbdd
asahi: Do not overallocate BOs by more than 2x

This is not likely to be useful, and might take over a correctly-sized
BO that is going to be reused later.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/asahi/lib/agx_bo.c