[Intel-gfx] [PATCH 08/12] drm/i915/guc: Cache the client mapping

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 3 20:01:03 UTC 2016


On Thu, Nov 03, 2016 at 04:37:24PM +0000, Tvrtko Ursulin wrote:
> 
> On 02/11/2016 17:50, Chris Wilson wrote:
> >Use i915_gem_object_pin_map() for the guc client's lifetime to replace
> >the peristent kmap + frequent kmap_atomic with a permanent vmapping.
> >This avoids taking the obj->mm.lock mutex whilst inside irq context
> >later.
> >
> >Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

> Looks OK, I thought we've done this months ago. :)

:)
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Pulled this in to close
https://bugs.freedesktop.org/show_bug.cgi?id=98571
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list