drm_eld_get_conn_type(9)
π 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 π
- Kernel file
./include/drm/drm_eld.hβ the mothership, go read her π§ drm_eld_mnl(9)drm_eld_sad(9)drm_eld_sad_count(9)drm_eld_calc_baseline_block_size(9)drm_eld_size(9)drm_eld_get_spk_alloc(9)
π«Ά 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
- 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