drm_eld_get_conn_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_eld_get_conn_type(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one's a tiny little function but she's lowkey iconic. Her whole personality? Telling you whether the display you're plugged into is HDMI or DisplayPort. That's it. That's the job. πŸŽ€


✨ NAME ✨

drm_eld_get_conn_type β€” get device type hdmi/dp connected πŸ¦‹

✨ SYNOPSIS ✨

u8 drm_eld_get_conn_type (const u8 *eld );

✨ ARGUMENTS ✨

  • eld β€” pointer to an ELD memory structure πŸ‘‘ (yes, pointer, she's not copying the whole thing for you, she just needs the address, slay)

✨ DESCRIPTION ✨

So here's the vibe: as the caller, you literally need to use DRM_ELD_CONN_TYPE_HDMI or DRM_ELD_CONN_TYPE_DP to identify which display type is actually connected. Those are your two choices, no cap. HDMI or DP, pick your fighter. πŸ’…

That's genuinely the whole description. Not me expecting more lore and getting two lines. πŸ’€ But fr fr, those two constants are the entire answer key β€” don't go inventing a third one, bestie.

🌈 SEE ALSO 🌈


🫢 and that's the whole page! this little legend lives in ./include/drm, the manual's dated October 2026, and it's filed under drm_eld_get_conn_type(9) β€” go forth and vibe check your connectors, bestie. πŸ’œβœ¨

πŸ“¦ where this page comes from