drm/i915: abstract hpd irq storm detection
authorJani Nikula <jani.nikula@intel.com>
Fri, 29 May 2015 13:14:37 +0000 (16:14 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 17:24:18 +0000 (19:24 +0200)
commita2ee48d60eed9cfb6447a4233370aee4ea88108b
tree4f700489ede7f3b3b2c31fe8c9c81b33219414a1
parentbd4b4827acdc00bf9e71f939d160102021d10d4f
drm/i915: abstract hpd irq storm detection

Simplify intel_hpd_irq_handler() by extracting HPD irq storm detection
to a separate function.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c