commit | 72aa0d899a3ea7e14436ac0b869cf3333277b92e | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Nov 02 17:50:47 2016 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Nov 03 19:57:43 2016 +0000 |
tree | 944cb3590227e8ac658ae754b950cff3fe855735 | |
parent | a933568eb61d6c0b12af4264ae1ba316447a2189 [diff] |
drm/i915/guc: Cache the client mapping 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. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98571 Fixes: 96d776345277 ("drm/i915: Use a radixtree for random access..."); Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20161102175051.29163-9-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>