mesa/src/panfrost
Alyssa Rosenzweig 77d0498913 panfrost: Fix major flaw in BO cache
BOs in the cache are chronological, so we try oldest BOs first. That
means if we find the oldest BO is busy, likely every BO is busy, and we
should bail early. This dramatically reduces the useless cycles spent in
bo_wait.

I studied the BO cache of the following drivers, all of which handle
this correctly: iris, lima, etnaviv, freedreno, vc4, v3d, v3dv.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10794>
2021-05-17 14:56:47 +00:00
..
bifrost panfrost: Add GPU IDs for G52 1-Core-2EE (RK3568/RK3566) 2021-05-12 20:45:44 +00:00
include panfrost: Add GPU IDs for G52 1-Core-2EE (RK3568/RK3566) 2021-05-12 20:45:44 +00:00
lib panfrost: Fix major flaw in BO cache 2021-05-17 14:56:47 +00:00
midgard pan/mdg: Use smaller LD_UNIFORM instructions 2021-05-12 20:04:21 +00:00
shared util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
util pan/bi: Add support for gl_DrawID 2021-05-12 07:03:51 +00:00
Android.bifrost.mk android: pan/bi: Remove old IR packs 2021-01-04 17:32:31 +00:00
Android.lib.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.midgard.mk android: panfrost: use python3 for generated sources rules 2020-10-05 21:23:56 +00:00
Android.mk android: panfrost: Move pandecode into lib/ 2020-08-10 21:35:31 +02:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.util.mk panfrost: Align Android makefiles with recent changes 2020-03-23 14:03:22 +00:00
Makefile.sources pan/bi: Add divergent intrinsic lowering pass 2021-05-07 18:20:30 +00:00
meson.build panfrost: Add a Meson dependency on bi_opcodes.h for bifrost_compiler 2021-03-19 19:22:29 +00:00