]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Consolidate reset_request()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 17:22:42 +0000 (17:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 20:49:29 +0000 (20:49 +0000)
commit9ae25ef77eb7a0e6d07a512d3c781b907714e6f5
treeaafc3297fd9b5363ea80c83ff0cf1a7b49138b87
parent7e640562e0aae2dfa523f3bd13e5d32bd1b80ed6
drm/i915: Consolidate reset_request()

Always reset the requests of the guilty context, including the hung
request that we tell the hardware to skip. This should help if the
reprogram fails entirely, but more importantly makes the guilty path
more uniform (and simplifies the subsequent patch to tweak the cancelled
requests).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110172246.27297-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c