]> 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)
commita1d1e4b916d8e564322d87c21e6ea148a9e53ab8
tree2de80afd961d08c9fdb809e077b7c21f2050d229
parentb157923834b9977fc88527638dde0586d0679a03
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