drm/i915: Enable rcu-only context lookups
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Jun 2017 11:05:47 +0000 (12:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Jun 2017 16:13:54 +0000 (17:13 +0100)
commit1acfc104cdf8a3408f0e83b4115d4419c6315005
tree34bb5200d992f514e11e1482f17466a577931bc0
parent5f09a9c8ab6b16eefbcf81635330d68481af1edc
drm/i915: Enable rcu-only context lookups

Whilst the contents of the context is still protected by the big
struct_mutex, this is not much of an improvement. It is just one tiny
step towards reducing our BKL.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620110547.15947-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_context.h
drivers/gpu/drm/i915/i915_gem_execbuffer.c