drm_atomic_h...hdmi_hotplug(9)
π NAME π
ok so like, this is drm_atomic_h...hdmi_hotplug(9) from the Kernel API Manual, and the actual function is drm_atomic_helper_connector_hdmi_hotplug β it's literally the one that handles the hotplug event for the HDMI connector π
bestie this is the good stuff.
β¨ SYNOPSIS β¨
void drm_atomic_helper_connector_hdmi_hotplug (struct drm_connector *connector , enum drm_connector_status status );
like, that's the whole signature, no cap π«Ά
πΈ ARGUMENTS πΈ
connectorβ a pointer to the HDMI connector π that's it, that's the connector, give it a lil pat.statusβ the connection status π like, is it plugged in or not, the whole vibe check.
π DESCRIPTION π
okay so here's the tea: this function should be called as a part of the .detect / .detect_ctx callbacks for all status changes β like every single one, no skipping, fr fr.
think of it as the main character of hotplug handling β any time the status shifts, this is who gets the call πβ¨
π¦ SEE ALSO π¦
- kernel file
./drivers/gpu/drm/display/drm_hdmi_state_helper.cπ (yes, that's where the magic lives) hdmi helpers(9)__drm_atomic_helper_connector_hdmi_state_init(9)drm_atomic_helper_connector_hdmi_check(9)drm_hdmi_connector_mode_valid(9)drm_atomic_helper_connector_hdmi_update_infoframes(9)drm_atomic_helper_connector_hdmi_update_audio_infoframe(9)drm_atomic_helper_connector_hdmi_clear_audio_infoframe(9)drm_atomic_helper_connector_hdmi_force(9)
go read those too, they're all part of the friend group π§π
and that's a wrap bestie!! this page lives under ./drivers/gpu/drm/display, dated October 2026 β mwah π slay, go plug something in π
π₯
π¦ 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