drm_atomic_h...hdmi_hotplug(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ¦‹

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