diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-02 20:50:47 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-03 22:57:43 +0300 |
commit | 72aa0d899a3ea7e14436ac0b869cf3333277b92e (patch) | |
tree | 944cb3590227e8ac658ae754b950cff3fe855735 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a933568eb61d6c0b12af4264ae1ba316447a2189 (diff) | |
download | linux-72aa0d899a3ea7e14436ac0b869cf3333277b92e.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions