Lines Matching full:hotplug
136 struct intel_hotplug *hpd = &dev_priv->display.hotplug; in intel_hpd_init_pins()
182 /* For display hotplug interrupt */
193 * i915_hotplug_interrupt_update - update hotplug interrupt enable
337 * hotplug detection results from several registers.
362 "hotplug event received, stat 0x%08x, dig 0x%08x, pins 0x%08x, long 0x%08x\n", in intel_get_hpd_pins()
373 if (dev_priv->display.hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs()
395 u32 hotplug = 0; in intel_hpd_hotplug_mask() local
398 hotplug |= hotplug_mask(pin); in intel_hpd_hotplug_mask()
400 return hotplug; in intel_hpd_hotplug_mask()
407 u32 hotplug = 0; in intel_hpd_hotplug_enables() local
410 hotplug |= hotplug_enables(encoder); in intel_hpd_hotplug_enables()
412 return hotplug; in intel_hpd_hotplug_enables()
434 * bits can itself generate a new hotplug interrupt :( in i9xx_hpd_irq_ack()
467 dev_priv->display.hotplug.hpd, in i9xx_hpd_irq_handler()
485 * unless we touch the hotplug register, even if hotplug_trigger is in ibx_hpd_irq_handler()
504 dev_priv->display.hotplug.pch_hpd, in ibx_hpd_irq_handler()
520 if (!(i915->display.hotplug.hpd[pin] & hotplug_trigger)) in xelpdp_pica_irq_handler()
534 "pica hotplug event received, stat 0x%08x, pins 0x%08x, long 0x%08x\n", in xelpdp_pica_irq_handler()
564 dev_priv->display.hotplug.pch_hpd, in icp_irq_handler()
575 dev_priv->display.hotplug.pch_hpd, in icp_irq_handler()
600 dev_priv->display.hotplug.pch_hpd, in spt_irq_handler()
611 dev_priv->display.hotplug.pch_hpd, in spt_irq_handler()
630 dev_priv->display.hotplug.hpd, in ilk_hpd_irq_handler()
644 dev_priv->display.hotplug.hpd, in bxt_hpd_irq_handler()
663 dev_priv->display.hotplug.hpd, in gen11_hpd_irq_handler()
674 dev_priv->display.hotplug.hpd, in gen11_hpd_irq_handler()
730 * Enable digital hotplug on the PCH, and configure the DP short pulse in ibx_hpd_detection_setup()
752 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in ibx_hpd_irq_setup()
753 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in ibx_hpd_irq_setup()
840 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in icp_hpd_irq_setup()
841 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in icp_hpd_irq_setup()
944 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.hpd); in gen11_hpd_irq_setup()
945 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.hpd); in gen11_hpd_irq_setup()
1051 enabled_irqs = intel_hpd_enabled_irqs(i915, i915->display.hotplug.pch_hpd); in mtp_hpd_irq_setup()
1052 hotplug_irqs = intel_hpd_hotplug_irqs(i915, i915->display.hotplug.pch_hpd); in mtp_hpd_irq_setup()
1113 enabled_irqs = intel_hpd_enabled_irqs(i915, i915->display.hotplug.hpd); in xelpdp_hpd_irq_setup()
1114 hotplug_irqs = intel_hpd_hotplug_irqs(i915, i915->display.hotplug.hpd); in xelpdp_hpd_irq_setup()
1170 /* Enable digital hotplug on the PCH */ in spt_hpd_detection_setup()
1207 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in spt_hpd_irq_setup()
1208 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.pch_hpd); in spt_hpd_irq_setup()
1240 * Enable digital hotplug on the CPU, and configure the DP short pulse in ilk_hpd_detection_setup()
1264 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.hpd); in ilk_hpd_irq_setup()
1265 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.hpd); in ilk_hpd_irq_setup()
1293 u32 hotplug; in bxt_hotplug_enables() local
1297 hotplug = PORTA_HOTPLUG_ENABLE; in bxt_hotplug_enables()
1299 hotplug |= BXT_DDIA_HPD_INVERT; in bxt_hotplug_enables()
1300 return hotplug; in bxt_hotplug_enables()
1302 hotplug = PORTB_HOTPLUG_ENABLE; in bxt_hotplug_enables()
1304 hotplug |= BXT_DDIB_HPD_INVERT; in bxt_hotplug_enables()
1305 return hotplug; in bxt_hotplug_enables()
1307 hotplug = PORTC_HOTPLUG_ENABLE; in bxt_hotplug_enables()
1309 hotplug |= BXT_DDIC_HPD_INVERT; in bxt_hotplug_enables()
1310 return hotplug; in bxt_hotplug_enables()
1336 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->display.hotplug.hpd); in bxt_hpd_irq_setup()
1337 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->display.hotplug.hpd); in bxt_hpd_irq_setup()
1360 * Note HDMI and DP share hotplug bits. Enable bits are the same for all in i915_hpd_irq_setup()
1366 * hotplug event about three seconds later. So just do it once. in i915_hpd_irq_setup()
1407 if (i915->display.funcs.hotplug) in intel_hpd_enable_detection()
1408 i915->display.funcs.hotplug->hpd_enable_detection(encoder); in intel_hpd_enable_detection()
1413 if (i915->display_irqs_enabled && i915->display.funcs.hotplug) in intel_hpd_irq_setup()
1414 i915->display.funcs.hotplug->hpd_irq_setup(i915); in intel_hpd_irq_setup()
1425 i915->display.funcs.hotplug = &i915_hpd_funcs; in intel_hotplug_irq_init()
1428 i915->display.funcs.hotplug = &icp_hpd_funcs; in intel_hotplug_irq_init()
1430 i915->display.funcs.hotplug = &dg1_hpd_funcs; in intel_hotplug_irq_init()
1432 i915->display.funcs.hotplug = &xelpdp_hpd_funcs; in intel_hotplug_irq_init()
1434 i915->display.funcs.hotplug = &gen11_hpd_funcs; in intel_hotplug_irq_init()
1436 i915->display.funcs.hotplug = &bxt_hpd_funcs; in intel_hotplug_irq_init()
1438 i915->display.funcs.hotplug = &icp_hpd_funcs; in intel_hotplug_irq_init()
1440 i915->display.funcs.hotplug = &spt_hpd_funcs; in intel_hotplug_irq_init()
1442 i915->display.funcs.hotplug = &ilk_hpd_funcs; in intel_hotplug_irq_init()