drm/i915: Only reprobe display on encoder which has received an HPD event (v2)
authorEgbert Eich <eich@suse.de>
Thu, 11 Apr 2013 14:00:26 +0000 (16:00 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Apr 2013 12:25:06 +0000 (14:25 +0200)
commit321a1b3026ea194dd084cf3bda1e235b2986b0af
treeac95e40aec1a003359c9368910985319f5c1b992
parent142e239849c800f9dc23f828762873073f612d3f
drm/i915: Only reprobe display on encoder which has received an HPD event (v2)

Instead of calling into the DRM helper layer to poll all connectors for
changes in connected displays probe only those connectors which have
received a hotplug event.

v2: Resolved conflicts with changes in previous commits.
    Renamed function and and added a WARN_ON() to warn of
    intel_hpd_irq_event() from being called without
    mode_config.mutex held - suggested by Jani Nikula.

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