OSDN Git Service

drm/i915: Remove unused i915_gem_active_wait() in favour of _unlocked()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:28 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:43 +0000 (20:53 +0100)
commit2e36991a8aa2fb5b06eee7958cced0665ea6f35d
treee1f86b7f2c8c463d264dab96e237513a09b0597c
parente95433c73a11759203af1cae5958f998c9673370
drm/i915: Remove unused i915_gem_active_wait() in favour of _unlocked()

Since we only use the more generic unlocked variant, just rename it as
the normal i915_gem_active_wait(). The temporary cost is that we need to
always acquire the reference in a RCU safe manner, but the benefit is
that we will combine the common paths.

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/20161028125858.23563-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.h
drivers/gpu/drm/i915/intel_ringbuffer.h