drm/i915: Refactor gen2 to gen4 vblank interrupt handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Feb 2013 21:16:44 +0000 (23:16 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Feb 2013 19:18:23 +0000 (20:18 +0100)
commit90a72f8774b6060975f85687e9c8a60cfb68a72c
tree07e6a14f958199b93440914735a7b88f3ceabaa2
parent21ad833075801a7cd81b5ef1604ffc6c600e5ff9
drm/i915: Refactor gen2 to gen4 vblank interrupt handling

The indentation is getting way too deep. Pull the vblank interupt
handling out to separate functions.

v2: Keep flip_mask handling in the main irq handler and
    flatten {i8xx,i915}_handle_vblank() even further.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h