]> 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)
commitf09943ce65ab3d56710f596d4c8bb93129cf0cf3
treeddf31cb1aa6b55524c9d3f63a18b746dafb33342
parent95e23a1d8bf843be20135b78980ce0d559980abb
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