]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Ensure the tasklet is decoupled upon shutdown
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 17:25:42 +0000 (17:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 20:09:14 +0000 (20:09 +0000)
commit359e9c40ea0164b9b48744bfd3b23618c0648380
tree50d437ae511877f8ce031fe6f749dc03b7bf7078
parent6809657c78274ba1aab9b5a769179deccaf4c5de
drm/i915/execlists: Ensure the tasklet is decoupled upon shutdown

As we only cancel the timers asynchronously, they may
still be running on another CPU as we shutdown, raising one last
softirq. So be safe and make sure the tasklet is flushed before
destroying the engine's memory.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129172542.1222810-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c