aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_bios.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2013-04-16 13:36:58 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-04-18 09:43:30 +0200
commitac4c16c56cd41f320af064fc7bf28a1ec82c2278 (patch)
tree20c8e257be31b125785354f6e96985ec56fce0f9 /drivers/gpu/drm/i915/intel_bios.h
parentcd569aed17b35b7be4567d0b277d23014ad34631 (diff)
drm/i915: Add Reenable Timer to turn Hotplug Detection back on (v4)
We disable hoptplug detection when we encounter a hotplug event storm. Still hotplug detection is required on some outputs (like Display Port). The interrupt storm may be only temporary (on certain Dell Laptops for instance it happens at certain charging states of the system). Thus we enable it after a certain grace period (2 minutes). Should the interrupt storm persist it will be detected immediately and it will be disabled again. v2: Reordered drm_i915_private: moved hotplug_reenable_timer to hpd state tracker. v3: Clarified loop start value, Removed superfluous test for Ivybridge and Haswell, Restructured loop to avoid deep nesting (all suggested by Ville Syrjälä) v4: Fixed two bugs pointed out 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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.h')
0 files changed, 0 insertions, 0 deletions