drm/etnaviv
Lucas Stach 7d984e6094 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>
2017-12-15 19:40:10 +01:00
..
Android.mk android: introduce Android.common.mk to reduce boilerplate 2017-01-27 15:48:16 +00:00
Makefile.am libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00
Makefile.sources etnaviv: add permon support 2017-12-15 19:09:51 +01:00
etnaviv-symbol-check etnaviv: support performance monitor requests 2017-12-15 19:10:01 +01:00
etnaviv_bo.c etnaviv: prevent deadlock in error path 2017-09-14 10:36:07 +01:00
etnaviv_bo_cache.c etnaviv: fix BO cache to properly work with different flags 2017-12-15 19:40:10 +01:00
etnaviv_cmd_stream.c etnaviv: support performance monitor requests 2017-12-15 19:10:01 +01:00
etnaviv_device.c etnaviv: add API to create etna_device from private dup() fd 2016-11-20 15:58:28 +01:00
etnaviv_drm.h etnaviv: sync uapi header 2017-12-15 19:09:43 +01:00
etnaviv_drmif.h etnaviv: support performance monitor requests 2017-12-15 19:10:01 +01:00
etnaviv_gpu.c etnaviv: remove struct etna_specs 2017-04-01 17:12:02 +02:00
etnaviv_perfmon.c etnaviv: add permon support 2017-12-15 19:09:51 +01:00
etnaviv_pipe.c etnaviv: add etna_pipe_wait_ns(..) 2016-11-24 20:08:50 +01:00
etnaviv_priv.h etnaviv: support performance monitor requests 2017-12-15 19:10:01 +01:00
libdrm_etnaviv.pc.in libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00