]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Cancel pending execlist tasklet upon wedging
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Jun 2017 12:48:04 +0000 (13:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Jun 2017 14:15:33 +0000 (15:15 +0100)
commita120e97959c39e3b4a28384b8be153ead1199349
tree300bb2b0640f7116d93bb64374fc3354640711df
parent752193b8c99d719c7a875cb8e36e49aeda3829cc
drm/i915: Cancel pending execlist tasklet upon wedging

Highly unlikely, but if the stop_machine() did suspend the tasklet, we
want to make sure that when it wakes it finds there is nothing to do.
Otherwise, it will loudly complain that the ELSP port tracking no longer
matches the hardware, and we will be mightly confused.

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