]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1aac9cf82eaf3eeaeae5fdf5090bedd3919e25d
tree2a2bf73e7350aa234616eda679e5a49e869173f2
parent1faad07c2537f37e8bbf2c3737fd0c5e69f89620
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