]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17d6e0460897ed014c815aa009e58090bbed0a21
treeac95e40aec1a003359c9368910985319f5c1b992
parent55fa9102222656d0b925628e1aa5b4889f2da402
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