]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39d335934ee1c019a985a4808ea87eea76ea80d2
treee1f86b7f2c8c463d264dab96e237513a09b0597c
parent6c5bae6713acf691de21ab7e19c40ac801e7639d
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