Lines Matching full:hpd
42 * handlers gather the hotplug detect (HPD) information from relevant registers
71 * callback is handled by i915_digport_work_func reenabling of hpd is not
81 * @port: the hpd port to get associated pin
112 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin
115 * @long_hpd: whether the HPD IRQ was long or short
117 * Gather stats about HPD IRQs from the specified @pin, and detect IRQ
135 * The HPD threshold can be controlled through i915_hpd_storm_ctl in debugfs,
143 struct intel_hotplug *hpd = &dev_priv->display.hotplug; in intel_hpd_irq_storm_detect() local
144 unsigned long start = hpd->stats[pin].last_jiffies; in intel_hpd_irq_storm_detect()
147 const int threshold = hpd->hpd_storm_threshold; in intel_hpd_irq_storm_detect()
155 hpd->stats[pin].last_jiffies = jiffies; in intel_hpd_irq_storm_detect()
156 hpd->stats[pin].count = 0; in intel_hpd_irq_storm_detect()
159 hpd->stats[pin].count += increment; in intel_hpd_irq_storm_detect()
160 if (hpd->stats[pin].count > threshold) { in intel_hpd_irq_storm_detect()
161 hpd->stats[pin].state = HPD_MARK_DISABLED; in intel_hpd_irq_storm_detect()
163 "HPD interrupt storm detected on PIN %d\n", pin); in intel_hpd_irq_storm_detect()
167 "Received HPD interrupt on PIN %d - cnt: %d\n", in intel_hpd_irq_storm_detect()
169 hpd->stats[pin].count); in intel_hpd_irq_storm_detect()
198 "HPD interrupt storm detected on connector %s: " in intel_hpd_irq_storm_switch_to_polling()
241 "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
654 * intel_hpd_poll_enable - enable polling for connectors with hpd
657 * This function enables polling for all connectors which support HPD.
658 * Under certain conditions HPD may not be functional. On most Intel GPUs,
687 * intel_hpd_poll_disable - disable polling for connectors with hpd
690 * This function disables polling for all connectors which support HPD.
691 * Under certain conditions HPD may not be functional. On most Intel GPUs,