diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-12-15 11:30:26 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2017-12-15 19:40:10 +0100 |
commit | 7d984e609470aa38d4c3f7d48e26fa763a03af13 (patch) | |
tree | 8e6704eff66f503f1908f61e79fd7fd74632858c /exynos | |
parent | 4f8e426884a51b6786459ea2505f1ce82a13a87c (diff) | |
download | libdrm-7d984e609470aa38d4c3f7d48e26fa763a03af13.tar.gz libdrm-7d984e609470aa38d4c3f7d48e26fa763a03af13.tar.bz2 libdrm-7d984e609470aa38d4c3f7d48e26fa763a03af13.zip |
etnaviv: fix BO cache to properly work with different flags
Currently if the oldest BO in a bucket has different flags than what we
look for we'll miss the cache.Fix this by iterating over the cached BOs
until we find the oldest one with matching flags. This improves the hit
ratio for some of the buckets.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'exynos')
0 files changed, 0 insertions, 0 deletions