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()
246 "Reenabling HPD on connector %s\n", in intel_hpd_irq_storm_reenable_work()
336 /* fall back to old school hpd */ in i915_digport_work_func()
350 * intel_hpd_trigger_irq - trigger an hpd irq event for a port
353 * Trigger an HPD interrupt event for the given port, emulating a short pulse
392 /* Enable polling for connectors which had HPD IRQ storms */ in i915_hotplug_work_func()
439 /* Remove shared HPD pins that have changed */ in i915_hotplug_work_func()
455 * @pin_mask: a mask of hpd pins that have triggered the irq
456 * @long_mask: a mask of hpd pins that may be long hpd pulses
460 * decode the appropriate registers into bitmasks about hpd pins that have
503 "digital hpd on [ENCODER:%d:%s] - %s\n", in intel_hpd_irq_handler()
532 "Received HPD interrupt on pin %d although disabled\n", in intel_hpd_irq_handler()
581 * intel_hpd_init - initializes and enables hpd support
659 * intel_hpd_poll_enable - enable polling for connectors with hpd
662 * This function enables polling for all connectors which support HPD.
663 * Under certain conditions HPD may not be functional. On most Intel GPUs,
691 * intel_hpd_poll_disable - disable polling for connectors with hpd
694 * This function disables polling for all connectors which support HPD.
695 * Under certain conditions HPD may not be functional. On most Intel GPUs,