]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable HPD interrupt on pin when irq storm is detected (v3)
authorEgbert Eich <eich@suse.de>
Tue, 16 Apr 2013 11:36:57 +0000 (13:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:43:30 +0000 (09:43 +0200)
commit84a2769716b63938ab68e7bb0a1138a2d7e9ff72
treeddf31cb1aa6b55524c9d3f63a18b746dafb33342
parent3c3d0297389f02146595b7719c09be5c12414af0
drm/i915: Disable HPD interrupt on pin when irq storm is detected (v3)

This patch disables hotplug interrupts if an 'interrupt storm'
has been detected.
Noise on the interrupt line renders the hotplug interrupt useless:
each hotplug event causes the devices to be rescanned which will
will only increase the system load.
Thus disable the hotplug interrupts and fall back to periodic
device polling.

v2: Fixed cleanup typo.
v3: Fixed format issues, clarified a variable name,
    changed pr_warn() to DRM_INFO() as suggested by
    Jani Nikula <jani.nikula@linux.intel.com>.

Signed-off-by: Egbert Eich <eich@suse.de>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c