drm/i915/fence: Separate timeout mechanism for awaiting on dma-fences
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jan 2018 09:06:43 +0000 (09:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jan 2018 10:29:18 +0000 (10:29 +0000)
commitf255c1e91e333ba0bd177120748f4caf294b812b
tree2a2bf73e7350aa234616eda679e5a49e869173f2
parentc32164b1f6a2eafa0658bbf33d02b2da41c72e5a
drm/i915/fence: Separate timeout mechanism for awaiting on dma-fences

As the timeout mechanism has grown more and more complicated, using
multiple deferred tasks and more than doubling the size of our struct,
split the two implementations to streamline the simpler no-timeout
callback variant.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180115090643.26696-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_sw_fence.c