drm/i915: Deconstruct execute fence
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 07:44:13 +0000 (07:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:49:31 +0000 (14:49 +0000)
commitfe49789fab974dd04c0fef26a4ce7f7f411b40dd
tree52d8369c7bc75219143b387e96a265bc1b681aaa
parent541ca6ed79f0058f8885b2b41409204731946767
drm/i915: Deconstruct execute fence

On reflection, we are only using the execute fence as a waitqueue on the
global_seqno and not using it for dependency tracking between fences
(unlike the submit and dma fences). By only treating it as a waitqueue,
we can then treat it similar to the other waitqueues during submit,
making the code simpler.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223074422.4125-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/i915_gem_request.h