]> 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)
commit6ed0daa36d282ce2382cabd957861af1c91fd493
tree2a2bf73e7350aa234616eda679e5a49e869173f2
parent12532b3a989464d9dc9112aaf4fc904cf5489fb2
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