STRUCT DRM_MODE_CREATE_BLOB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_mode_create_blob(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, welcome to struct drm_mode_create_blob(9) ✨ this is the little struct that lives in the kernel API manual and honestly? it's giving "small but mighty." it's literally just the wrapper you hand to the kernel when you want it to make you a brand new blob property πŸŽ€


✨ NAME ✨

struct drm_mode_create_blob β€” Create New blob property πŸ’–

like, the whole entire job. that's it. that's the vibe.


✨ SYNOPSIS ✨

struct drm_mode_create_blob {
    __u64 data;
    __u32 length;
    __u32 blob_id;
 };

three members, no drama, no cap. 🫢


✨ Members ✨

  • data β€” a pointer to the data you want copied. like, this is the data. the moment. the main character. hand it over and the kernel will copy from it. πŸ‘‘
  • length β€” how many bytes of data to copy. be honest about this one fr fr, it's literally the length of the data you're copying. πŸ“
  • blob_id β€” this is the Return: value, new property ID. so you don't set it, the kernel fills it in for you and it comes back as the shiny new ID. it's a glow-up in reverse β€” it goes in empty and comes out iconic. ✨

✨ Description ✨

so here's what it actually does: it creates a new 'blob' data property 🌸, copying length bytes from the data pointer, and returns the new blob ID. that's the whole plot. no subplot, no twist, just copy bytes β†’ get an ID β†’ slay. πŸ’…

like yes, that's genuinely it, and honestly? we love a function that knows exactly what it is. πŸ”₯


🌈 SEE ALSO 🌈

iykyk, the whole friend group is here β€” go say hi to all of them:


no warnings, no deprecation, nothing scary in here β€” this one's actually safe, bestie. go off. πŸ¦‹

okay that's the whole page, mwah πŸ˜­πŸ’œ it came from ./include/uapi/drm, dated October 2026, and it's literally titled struct drm_mode_create_blob(9) β€” drink water, read your header files, and stan kernel docs responsibly πŸ§šβ€β™€οΈπŸ“

πŸ“¦ where this page comes from