Skip to content
Commit 1d309634 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Kill the tasklet then disable



Disabling the tasklet leaves it if scheduled on the ready to run list
until it is re-enabled. This will leave the ksoftird thread spinning
until satisfied. To prevent this situation on starting the GPU reset, we
want to kill the tasklet first and then disable. The same problem will
arise when a tasklet is scheduled from another device, so a better
solution is required for the general case.

Reported-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 1f7b847d

 ("drm/i915: Disable engine->irq_tasklet around resets")
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170212172002.23072-3-chris@chris-wilson.co.uk
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
parent 8d613c53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment