drm_eld_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_eld_size β€” get ELD size in bytes πŸ’–

okay so bestie, this is drm_eld_size from the Kernel API Manual, and it's literally the easiest little function to love 🫢


✨ NAME ✨

drm_eld_size β€” Get ELD size in bytes</p> πŸ’… that's it, that's the job


🌸 SYNOPSIS 🌸

int drm_eld_size (const u8 *eld );

πŸŽ€ ARGUMENTS πŸŽ€

  • eld β€” pointer to a complete eld memory structure ✨ like, a complete one, okay? don't come at it with a half-built struct, she needs the whole vibe

πŸ¦‹ DESCRIPTION πŸ¦‹

So the number you get back? It does not include the vendor block, okay 😀 that part is vendor specific and it's made up of whatever bytes are left over in the ELD memory buffer after drm_eld_size bytes of header and baseline block. Like the vendor block is the lil bonus content at the end and we're not counting it πŸ“­

And here's the tea: the returned value is guaranteed to be a multiple of 4 ✨ so don't be out here expecting 7 or 13, it's giving divisible-by-four main character energy πŸ‘‘


⭐ SEE ALSO ⭐

like the whole ELD friend group fr fr 🫢 go read them all, iykyk πŸ’œ


aaaand that's the page!! this one came out of ./include/drm, version dated October 2026, ngl she's iconic, no cap πŸŒˆπŸŽ€βœ¨

πŸ“¦ where this page comes from