]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add a warning on shutdown if signal threads still active
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Nov 2016 11:07:59 +0000 (11:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Nov 2016 11:49:06 +0000 (11:49 +0000)
commit8e9a6939f0d87e5c1d7c03667ff2b395c91aba72
tree599db79bd3352fec7505aa216b9b2d647a300fc8
parent0148a153aba3eaa3fd36f49ae9cc4acdf3db6461
drm/i915: Add a warning on shutdown if signal threads still active

When unloading the module, it is expected that we have finished
executing all requests and so the signal threads should be idle. Add a
warning in case there are any residual requests in the signaler rbtrees
at that point.

v2: We can also warn if there are any waiters

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