drm_edid_get_monitor_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_edid_get_monitor_name(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for drm_edid_get_monitor_name β€” the lil function whose whole personality is "grab the monitor's name out of the EDID" πŸŽ€


✨ NAME ✨

drm_edid_get_monitor_name β€” fetch the monitor name from the edid πŸ’…


🌸 SYNOPSIS 🌸

void drm_edid_get_monitor_name (const struct edid *edid , char *name ,
       int bufsize );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • edid β€” the monitor EDID information. this is the source of truth, the main character of the whole operation πŸ‘‘
  • name β€” a pointer to a character array that's gonna hold the name of the monitor. it's giving "here's an empty bowl, go fill it" πŸ“
  • bufsize β€” the size of the name buffer, and bestie, it should be at least 14 chars. fr fr, don't skimp on this one πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/drm_edid.c β€” that's where the actual code lives, go say hi 🧚

and like, the whole EDID friend group, literally all of them:

like yes, that's a lot of them, and yes, they're all iconic πŸ’…βœ¨


lowkey a reminder from your girl: that bufsize thing is at least 14 chars, okay? bestie behavior is checking your buffer size before you write into it πŸ™ˆ

so yeah, that's the page πŸŽ€ shoutout to the kernel file ./drivers/gpu/drm and the version stamp October 2026 β€” this one's signed, sealed, and slayed, mwah πŸ’–πŸ‘‘

πŸ“¦ where this page comes from