drm/i915: Refactor gmch hpd irq handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Apr 2014 07:54:36 +0000 (10:54 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:58:28 +0000 (22:58 +0200)
commit16c6c56bab1d9942c8089b7ea8a7382799fba5d8
tree2fa9ec2835bafb6aebd7dc5b7a43ec1bfd657ec7
parent50e6a2a74413806bd7fefb2a9aa4044aa49d3924
drm/i915: Refactor gmch hpd irq handling

Pull all the gmch platform hotplug interrupt handling into one
function.

v2: Move the IIR check to the caller
    s/drm_i915_private_t/struct drm_i915_private/

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Add posting read comment suggested by Chris.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c