Re: [Intel-gfx] [PATCH v5] drm/i915: Cache LRC state page in the context

2016-01-15 Thread Chris Wilson
On Fri, Jan 15, 2016 at 04:39:29PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > LRC lifetime is well defined so we can cache the page pointing > to the object backing store in the context in order to avoid > walking over the object SG page list from the interrupt context > without the

[Intel-gfx] [PATCH v5] drm/i915: Cache LRC state page in the context

2016-01-15 Thread Tvrtko Ursulin
From: Tvrtko Ursulin LRC lifetime is well defined so we can cache the page pointing to the object backing store in the context in order to avoid walking over the object SG page list from the interrupt context without the big lock held. v2: Also cache the mapping. (Chris Wilson) v3: Unmap on the