]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wrap the protected active RCU dereference in a helper
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Aug 2016 07:37:01 +0000 (08:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Aug 2016 08:11:59 +0000 (09:11 +0100)
commit7b94c15a8b47491f0f4c9315c39dc99bb68b330f
treed413b0ebbcfad28c54521dfbd68544bee9b044da
parent2293f6c55249b34ccb20ad42332e0ea0d49f1040
drm/i915: Wrap the protected active RCU dereference in a helper

As we do the lockdep protected RCU lookup in a couple of places,
refactor that code to a common helper i915_gem_active_raw().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470728222-10243-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.h