drm_property_create_blob(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_property_create_blob(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… β€” this little cutie lives in the drm_property_create_blob(9) corner of the universe and it's literally here to make you a brand-new blob property. let's get into it πŸŽ€


🌸 NAME 🌸

drm_property_create_blob β€” create new blob property 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_property_blob * drm_property_create_blob (struct drm_device
*dev , size_t length , const void *data );

πŸ’– ARGUMENTS πŸ’–

  • dev β€” the DRM device you're creating this property for, like, obviously 🧚
  • length β€” how much space to allocate for the blob data, no cap
  • data β€” if you actually pass this in, it copies data into the blob πŸ“‹

πŸ‘‘ DESCRIPTION πŸ‘‘

so what it does is: it creates a new blob property for a specified DRM device, and optionally copies data in for you. easy!

⚠️ but listen β€” blob properties are meant to be invariant, which is a fancy way of saying once it's set, it's set. so the data must be filled out before the blob is used as the value of any property. don't come back later trying to change it, bestie, it's not that kind of blob πŸ’€

⭐ RETURN ⭐

on success you get a new blob property with a single reference πŸ”₯

on failure you get an ERR_PTR value 😭 (check for it, please, i'm begging)


🌈 SEE ALSO 🌈

the whole friend group, fr fr πŸ’œ


and that's the page!! brought to you by the fine folks over at ./drivers/gpu/drm 🌸 dated October 2026 β€” mwah, go create some blobs bestie πŸ’…βœ¨

πŸ“¦ where this page comes from