drm_property_create_blob(9)
β¨ 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 capdataβ if you actually pass this in, it copiesdatainto 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 kernel file
./drivers/gpu/drm/drm_property.coverview(9) β go read the source, iykwim π drm_property_create(9)drm_property_create_enum(9)drm_property_create_bitmask(9)drm_property_create_range(9)drm_property_create_signed_range(9)drm_property_create_object(9)drm_property_create_bool(9)drm_property_add_enum(9)drm_property_destroy(9)drm_property_blob_put(9)drm_property_blob_get(9)drm_property_lookup_blob(9)drm_property_replace_global_blob(9)drm_property_replace_blob(9)drm_property_replace_blob_from_id(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms