drm_connecto...pd_irq_event(9)
π drm_connecto...pd_irq_event(9) π
okay so bestie, we're in the Kernel API Manual today (yes, the Kernel API Manual, the drm_connecto...pd_irq_event(9) one, keep up π
) and this page is lowkey a little baddie about hotplug processing. let's get into it β¨
πΈ NAME πΈ
drm_connector_helper_hpd_irq_event β hotplug processing. that's it, that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
bool drm_connector_helper_hpd_irq_event (struct drm_connector *connector
);
yes it returns a bool, yes there's exactly one argument, no we're not done yet π
π ARGUMENTS π
connectorβ astruct drm_connector, the main character of this whole function fr fr
π¦ DESCRIPTION π¦
so here's the tea π β drivers can use this helper function to run a detect cycle on a connector that has the DRM_CONNECTOR_POLL_HPD flag set in its polled member. like, that flag is the invite to the party and this function is the party π
this helper is perfect for drivers that can track hotplug interrupts for a single connector β one connector, one interrupt, one slay β¨
drivers that want to send a hotplug event for all connectors, or that simply can't track hotplug interrupts per connector, need to use drm_helper_hpd_irq_event instead. different function, different vibe, iykyk π§
β οΈ also important: this function must be called from process context with no mode setting locks held. like, none. zero. not even one. this is not a drill π
and note π: a connector can be both polled and probed from the hotplug handler, in case the hotplug interrupt is known to be unreliable. yeah, belt and suspenders energy, we love a backup plan π
β RETURN β
a boolean indicating whether the connector status changed or not β true if it changed, false if it's giving "nothing to see here" π
π SEE ALSO π
buckle up bestie, this list is long, but every single one of these is iconic in its own right π«Ά
- the Kernel file
./drivers/gpu/drm/drm_probe_helper.coutput probing helperoverview(9) drm_kms_helper_poll_enable(9)drm_kms_helper_poll_reschedule(9)drm_helper_probe_detect(9)drm_helper_probe_single_connector_modes(9)drm_kms_helper_hotplug_event(9)drm_kms_helper_connector_hotplug_event(9)drm_kms_helper_is_poll_worker(9)drm_kms_helper_poll_disable(9)drm_kms_helper_poll_init(9)drm_kms_helper_poll_fini(9)drmm_kms_helper_poll_init(9)drm_helper_hpd_irq_event(9)drm_crtc_helper_mode_valid_fixed(9)drm_connector_helper_get_modes_fixed(9)drm_connector_helper_get_modes(9)drm_connector_helper_tv_get_modes(9)drm_connector_helper_detect_from_ddc(9)
and that's the whole page, no cap π this lil masterpiece lives over in ./drivers/gpu/drm, and it's dated October 2026 β so yeah, from the future, obviously π
β¨ see u in the next manpage, mwah π
π¦ 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