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

2021-01-19 Thread Matthew Auld
On Tue, 19 Jan 2021 at 17:02, Chris Wilson wrote: > > Quoting Matthew Auld (2021-01-19 16:38:04) > > On Tue, 19 Jan 2021 at 14:49, Chris Wilson wrote: > > > > > > Simplify the frontbuffer unpin by removing the lock requirement. The LRU > > > bumping was primarily to protect the GTT from being evi

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

2021-01-19 Thread Chris Wilson
Quoting Matthew Auld (2021-01-19 16:38:04) > On Tue, 19 Jan 2021 at 14:49, Chris Wilson 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 pro

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

2021-01-19 Thread Matthew Auld
On Tue, 19 Jan 2021 at 14:49, Chris Wilson 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 a

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

2021-01-19 Thread Chris Wilson
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 bumpin