Lines Matching full:hpd

43  * handlers gather the hotplug detect (HPD) information from relevant registers
72 * callback is handled by i915_digport_work_func reenabling of hpd is not
82 * @port: the hpd port to get associated pin
124 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin
127 * @long_hpd: whether the HPD IRQ was long or short
129 * Gather stats about HPD IRQs from the specified @pin, and detect IRQ
147 * The HPD threshold can be controlled through i915_hpd_storm_ctl in debugfs,
155 struct i915_hotplug *hpd = &dev_priv->hotplug; in intel_hpd_irq_storm_detect() local
156 unsigned long start = hpd->stats[pin].last_jiffies; in intel_hpd_irq_storm_detect()
159 const int threshold = hpd->hpd_storm_threshold; in intel_hpd_irq_storm_detect()
167 hpd->stats[pin].last_jiffies = jiffies; in intel_hpd_irq_storm_detect()
168 hpd->stats[pin].count = 0; in intel_hpd_irq_storm_detect()
171 hpd->stats[pin].count += increment; in intel_hpd_irq_storm_detect()
172 if (hpd->stats[pin].count > threshold) { in intel_hpd_irq_storm_detect()
173 hpd->stats[pin].state = HPD_MARK_DISABLED; in intel_hpd_irq_storm_detect()
174 DRM_DEBUG_KMS("HPD interrupt storm detected on PIN %d\n", pin); in intel_hpd_irq_storm_detect()
177 DRM_DEBUG_KMS("Received HPD interrupt on PIN %d - cnt: %d\n", pin, in intel_hpd_irq_storm_detect()
178 hpd->stats[pin].count); in intel_hpd_irq_storm_detect()
212 DRM_INFO("HPD interrupt storm detected on connector %s: " in intel_hpd_irq_storm_switch_to_polling()
260 DRM_DEBUG_DRIVER("Reenabling HPD on connector %s\n", in intel_hpd_irq_storm_reenable_work()
342 /* fall back to old school hpd */ in i915_digport_work_func()
382 /* Enable polling for connectors which had HPD IRQ storms */ in i915_hotplug_work_func()
420 /* Remove shared HPD pins that have changed */ in i915_hotplug_work_func()
436 * @pin_mask: a mask of hpd pins that have triggered the irq
437 * @long_mask: a mask of hpd pins that may be long hpd pulses
441 * decode the appropriate registers into bitmasks about hpd pins that have
484 DRM_DEBUG_DRIVER("digital hpd port %c - %s\n", port_name(port), in intel_hpd_irq_handler()
512 "Received HPD interrupt on pin %d although disabled\n", pin); in intel_hpd_irq_handler()
560 * intel_hpd_init - initializes and enables hpd support
646 * intel_hpd_poll_init - enables/disables polling for connectors with hpd
650 * not they support hotplug detection. Under certain conditions HPD may not be
659 * Also see: intel_hpd_init(), which restores hpd handling.