[Intel-gfx] [PATCH 6/6] drm/i915/gem: Drop lru bumping on display unpinning

Matthew Auld matthew.william.auld at gmail.com
Tue Jan 19 16:38:04 UTC 2021


On Tue, 19 Jan 2021 at 14:49, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Simplify the frontbuffer unpin by removing the lock requirement. The LRU
> bumping was primarily to protect the GTT from being evicted and from
> frontbuffers being eagerly shrunk. Now we protect frontbuffers from the
> shrinker, and we avoid accidentally evicting from the GTT, so the
> benefit from bumping LRU is no more, and we can save more time by not.

For the GTT evict case, where/how do we currently try to prevent
accidental eviction for fb?


More information about the Intel-gfx mailing list