drm_connecto...ect_from_ddc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_connector_helper_detect_from_ddc(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes we're literally reading kernel docs together, this is our friendship era 🫢. Today's main character is drm_connector_helper_detect_from_ddc, and no I will not be pronouncing the truncated part out loud, we're all just gonna vibe with it ✨


🌸 NAME 🌸

drm_connector_helper_detect_from_ddc β€” the girl who reads your EDID and tells you whether your connector is actually, like, there or not πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int drm_connector_helper_detect_from_ddc (struct drm_connector
*connector , struct drm_modeset_acquire_ctx *ctx , bool force );

like, that's the whole signature, no cap πŸ¦‹


πŸ¦‹ ARGUMENTS πŸ¦‹

  • connector β€” the connector ✨ the actual lil guy we're checking on
  • ctx β€” the acquire context, aka the permission slip so we don't deadlock πŸ’…
  • force β€” if it's true, we're doing screen-destructive operations when necessary 😭 yes bestie, destroy-the-screen levels of committed, that's the vibe

⭐ DESCRIPTION ⭐

so the whole point of this function is: it detects the connector status by reading the EDID using drm_probe_ddc. That's the pipeline. That's the whole personality 🌈

⚠️ important detail bestie: drm_probe_ddc requires connector->ddc to be set. If it's not set, that's a you problem, not an EDID problem πŸ™ˆ

And what does it give back? On success it returns connector_status_connected. On failure it returns connector_status_disconnected. Iconic. Binary. No in-between, no "it's complicated", periodt πŸ’€


πŸ‘‘ RETURN πŸ‘‘

it returns the connector status β€” as defined by enum drm_connector_status, iykyk πŸ”₯


🌺 SEE ALSO 🌺

the whole friend group, fr fr β€” go read these next, no skipping πŸ“


and that's the page!! 🧚 mwah πŸ’œ this lil manpage lives in ./drivers/gpu/drm and it's dated October 2026 β€” yes, the future, we're ahead of schedule, slay πŸ’…βœ¨πŸŒΈ see u in the next one bestie!! πŸŽ€πŸ’–

πŸ“¦ where this page comes from