intel_hpd_init(9)
π intel_hpd_init β the Kernel API Manual page, bestie edition β¨
okay so real talk, this one's from the Kernel API Manual, section 9, and it's called intel_hpd_init π
πΈ NAME πΈ
intel_hpd_init β literally initializes and enables hpd support, that's the whole job, no cap β¨
π SYNOPSIS π
void intel_hpd_init(struct intel_display *display);
π¦ ARGUMENTS π¦
displayβ the display device instance π«Ά that's your one and only input, she's low maintenance
π DESCRIPTION π
okay so here's the tea β this function enables the hotplug support. slay.
But β and this is important, bestie β it requires that interrupts have already been enabled with intel_irq_init_hw. like, do that first, okay? order matters, periodt π
From this point on, hotplug and poll request can run concurrently to other code, so the locking rules must be obeyed. fr fr, don't skip the locking rules, that's how you get the bad kind of chaos π
So why is this its own separate step from interrupt enabling? because it simplifies the locking rules in the driver load and resume code β iconic design choice honestly, main character energy π§
Also see: intel_hpd_poll_enable and intel_hpd_poll_disable π go read those too, iykyk
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/display/intel_hotplug.cHotplug(9) intel_hpd_pin_default(9)intel_hpd_irq_storm_detect(9)intel_hpd_trigger_irq(9)intel_hpd_irq_handler(9)intel_hpd_poll_enable(9)intel_hpd_poll_disable(9)intel_hpd_block(9)intel_hpd_unblock(9)intel_hpd_clear_and_unblock(9)
that's a whole friend group right there, obsessed π
quick vibe check reminder: hotplug + poll requests can run concurrently with other code once this is called, so obey the locking rules or risk undefined chaos π
and that's the page, bestie π this lil gem lives in ./drivers/gpu/drm/i915/display, and it's dated October 2026 β so mark your calendar, kiss the screen, and go enable those interrupts first πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms