OSDN Git Service

drm/i915: Remove the preempted request from the execution queue
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 07:44:17 +0000 (07:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:50:07 +0000 (14:50 +0000)
commitd6a2289d9d6b3ea47514cf29fed56340fb8fec7e
treecfbbc5021a78707e87dcd13add7ddb92b64f3cdb
parent9eb143bbec7dfdfce8aa7f6a3b0f40af4e95e7b7
drm/i915: Remove the preempted request from the execution queue

After the request is cancelled, we then need to remove it from the
global execution timeline and return it to the context timeline, the
inverse of submit_request().

v2: Move manipulation of struct intel_wait to helpers

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