OSDN Git Service

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)
commit9eb143bbec7dfdfce8aa7f6a3b0f40af4e95e7b7
tree4dd67dcdcd52427186670c16aa012bd957cacd13
parentcced5e2f098d9db26cf4119e309068b79cca1274
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