]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unconditionally initialise the interrupt workers
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 21:59:41 +0000 (22:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:15 +0000 (11:18 +0200)
commit8957c9ae3c389eeacb12d6cac7d5b27b0cf2a73f
tree2de80afd961d08c9fdb809e077b7c21f2050d229
parent4d4112f815c0de0d0119a37cfc5a583b64e46ea6
drm/i915: Unconditionally initialise the interrupt workers

Rather than duplicate similar code across the IRQ installers, perform
the initialisation of the workers upfront. This will lead to simpler
teardown and quiescent code as we can assume that the workers have
been initialised.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c