drm/i915: Remove gen3 irq code from gen4 irq routine
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 21:59:46 +0000 (22:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:17 +0000 (11:18 +0200)
commit2c8ba29f15b57b0a587fae2a83ce906c82031d18
treeb63b7c17eff13733a0cd45de008c8311a6a3179b
parent4f7d1e79b1967d2f1a718d4b9afbb23053858c0a
drm/i915: Remove gen3 irq code from gen4 irq routine

And a couple of miscellaneous cleanups to the main body of the IRQ loop;
move per-loop condition variables within the scope of the loop and move
the old DRI1 breadcrumb to the tail of the function and so only execute
it once.

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