]> asedeno.scripts.mit.edu Git - linux.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)
commit385384a82cb4d9d1725330fde293877c36c1dba2
treed413b0ebbcfad28c54521dfbd68544bee9b044da
parent2e7ba01494ea1ec33ae7d7f5f124975818ddb825
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