]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow a request to be cancelled
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 07:44:16 +0000 (07:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:49:35 +0000 (14:49 +0000)
commit53786aed69f91a9c910916690cbf4252cd0b68d5
tree4dd67dcdcd52427186670c16aa012bd957cacd13
parent5a4008d1f9f383fb6d006022f38d18dcc507a6ff
drm/i915: Allow a request to be cancelled

If we preempt a request and remove it from the execution queue, we need
to undo its global seqno and restart any waiters.

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-11-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_breadcrumbs.c
drivers/gpu/drm/i915/intel_ringbuffer.h