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

2016-11-03 Thread Chris Wilson
On Thu, Nov 03, 2016 at 04:37:24PM +, 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 mute

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

2016-11-03 Thread Tvrtko Ursulin
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 --- drive

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

2016-11-02 Thread Chris Wilson
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 --- drivers/gpu/drm/i915/i915_guc_submission.c | 38 +