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)
commit8b2e326dc7c5aa6952c88656d04d0d81fd85a6f8
tree2de80afd961d08c9fdb809e077b7c21f2050d229
parentcd9d4e9f9fa2809dedc637406fa15016bfcb2ad0
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