drm/i915: s/hotplug_irq_storm_detect/intel_hpd_irq_handler/
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jun 2013 15:52:11 +0000 (17:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:14:56 +0000 (11:14 +0200)
commit22062dbacf7ccc325c8b0ccc3fb90bf487be5c5c
treee336ee3a36ff1e32af91f2c132e2e1146b87c558
parent6005ce42433df3f69de99d7e730383a6adb852ef
drm/i915: s/hotplug_irq_storm_detect/intel_hpd_irq_handler/

The combination of Paulo's fifo underrun detection code and Egbert's
hpd storm handling code unfortunately made the hpd storm handling code
racy.

To avoid duplicating tricky interrupt locking code over all platforms
start with a bit of refactoring. This patch is the very first step
since in the end the irq storm handling code will handle all hotplug
logic (and so also encapsulate the locking nicely).

v2: Rebase on top of the i965g/gm sdvo hpd fix.

Cc: Egbert Eich <eich@suse.de>
Reviewed-by: Egbert Eich <eich@suse.de>
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