drm_edid_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 drm_edid_raw πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and it's about one single tiny function that lives rent-free in my head because it's literally the shortest manpage ever and the vibes are immaculate. Buckle up πŸŽ€


✨ NAME ✨

drm_edid_raw β€” get a pointer to the raw EDID data. that's it. that's the function. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

const struct edid * drm_edid_raw (const struct drm_edid *drm_edid );

like, copy that exactly pls, don't be cute with it ✨


πŸ“ ARGUMENTS πŸ“

  • drm_edid β€” the drm_edid container. it's giving "wrapper around the actual data" energy πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what it does is: get a pointer to the raw EDID data. that's the whole thing. no cap.

but here's the part where I grab your shoulders and shake you gently 😭 β€” this is for transition only. the manpage literally says avoid using this like the plague. like, the plague. actual plague. not "meh, avoid it", PLAGUE levels of avoid. so if you're reaching for this in new code, no 🫢 please don't, it's a temporary escape hatch and it knows it.


πŸ‘‘ RETURN πŸ‘‘

a pointer to the raw EDID data. πŸŽ€


🌈 SEE ALSO 🌈

okay this is where it gets unhinged because this page has, like, a whole squad of friends and I'm listing every single one of them because I would never do them dirty πŸ’…

the kernel file lives at ./drivers/gpu/drm/drm_edid.c and here's the full crew:

forty of them. I counted. obsessed with the commitment honestly πŸ”₯

ngl if you made it through that list you're a real one. go read drm_edid_read(9) instead of this one, iykyk πŸ™ˆ

alright bestie that's the whole page πŸ’œ this lil gem comes from the kernel tree out of ./drivers/gpu/drm, stamped October 2026, and it's part of the Kernel API Manual β€” slay, periodt, go drink some water and stop using the plague function 🌸✨🧚

πŸ“¦ where this page comes from