drm/i915: Extend i915_request_await_active to use all timelines
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Mar 2020 09:20:44 +0000 (09:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Mar 2020 10:54:59 +0000 (10:54 +0000)
commit29e6ecf3ceb6eb2fdf94ffe897874f051e97cd67
tree663b3b143bfd11f1e9d8cd4ab2076e0baf021b50
parent61f874d6e001a9ecf5dbd5a9909e257bbe79478a
drm/i915: Extend i915_request_await_active to use all timelines

Extend i915_request_await_active() to be able to asynchronously wait on
all the tracked timelines simultaneously.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311092044.16353-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_active.c
drivers/gpu/drm/i915/i915_active.h
drivers/gpu/drm/i915/i915_vma.c