aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach2017-12-15 04:30:26 -0600
committerChristian Gmeiner2017-12-15 12:40:10 -0600
commit7d984e609470aa38d4c3f7d48e26fa763a03af13 (patch)
tree8e6704eff66f503f1908f61e79fd7fd74632858c /xf86drm.h
parent4f8e426884a51b6786459ea2505f1ce82a13a87c (diff)
downloadexternal-libdrm-7d984e609470aa38d4c3f7d48e26fa763a03af13.tar.gz
external-libdrm-7d984e609470aa38d4c3f7d48e26fa763a03af13.tar.xz
external-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 'xf86drm.h')
0 files changed, 0 insertions, 0 deletions