[Intel-gfx] [PATCH 4/7] drm/i915: Cache LRC state page in the context
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Mon Jan 11 07:07:12 PST 2016
On 11/01/16 14:29, Chris Wilson wrote:
> On Mon, Jan 11, 2016 at 02:08:38PM +0000, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> 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.
>
> You can keep kmap around for the pinned lifetime of the context.
Baby steps. :)
Regards,
Tvrtko
More information about the Intel-gfx
mailing list