Lines Matching full:hpd

41  * handlers gather the hotplug detect (HPD) information from relevant registers
70 * callback is handled by i915_digport_work_func reenabling of hpd is not
80 * @port: the hpd port to get associated pin
111 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin
114 * @long_hpd: whether the HPD IRQ was long or short
116 * Gather stats about HPD IRQs from the specified @pin, and detect IRQ
134 * The HPD threshold can be controlled through i915_hpd_storm_ctl in debugfs,
142 struct i915_hotplug *hpd = &dev_priv->hotplug; in intel_hpd_irq_storm_detect() local
143 unsigned long start = hpd->stats[pin].last_jiffies; in intel_hpd_irq_storm_detect()
146 const int threshold = hpd->hpd_storm_threshold; in intel_hpd_irq_storm_detect()
154 hpd->stats[pin].last_jiffies = jiffies; in intel_hpd_irq_storm_detect()
155 hpd->stats[pin].count = 0; in intel_hpd_irq_storm_detect()
158 hpd->stats[pin].count += increment; in intel_hpd_irq_storm_detect()
159 if (hpd->stats[pin].count > threshold) { in intel_hpd_irq_storm_detect()
160 hpd->stats[pin].state = HPD_MARK_DISABLED; in intel_hpd_irq_storm_detect()
162 "HPD interrupt storm detected on PIN %d\n", pin); in intel_hpd_irq_storm_detect()
166 "Received HPD interrupt on PIN %d - cnt: %d\n", in intel_hpd_irq_storm_detect()
168 hpd->stats[pin].count); in intel_hpd_irq_storm_detect()
197 "HPD interrupt storm detected on connector %s: " in intel_hpd_irq_storm_switch_to_polling()
240 "Reenabling HPD on connector %s\n", in intel_hpd_irq_storm_reenable_work()
331 /* fall back to old school hpd */ in i915_digport_work_func()
345 * intel_hpd_trigger_irq - trigger an hpd irq event for a port
348 * Trigger an HPD interrupt event for the given port, emulating a short pulse
387 /* Enable polling for connectors which had HPD IRQ storms */ in i915_hotplug_work_func()
434 /* Remove shared HPD pins that have changed */ in i915_hotplug_work_func()
450 * @pin_mask: a mask of hpd pins that have triggered the irq
451 * @long_mask: a mask of hpd pins that may be long hpd pulses
455 * decode the appropriate registers into bitmasks about hpd pins that have
498 "digital hpd on [ENCODER:%d:%s] - %s\n", in intel_hpd_irq_handler()
527 "Received HPD interrupt on pin %d although disabled\n", in intel_hpd_irq_handler()
576 * intel_hpd_init - initializes and enables hpd support
657 * intel_hpd_poll_init - enables/disables polling for connectors with hpd
661 * not they support hotplug detection. Under certain conditions HPD may not be
670 * Also see: intel_hpd_init(), which restores hpd handling.