STRUCT DRM_PROPERTY_BLOB(9)
β¨ struct drm_property_blob(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's about struct drm_property_blob, and it's honestly kind of a whole vibe. let's get into it π
π NAME π
struct drm_property_blob β the blob data for &drm_property. that's it, that's the tweet π¦
π¦ SYNOPSIS π¦
struct drm_property_blob {
struct drm_mode_object base;
struct drm_device *dev;
struct list_head head_global;
struct list_head head_file;
size_t length;
void *data;
};
πΈ Members πΈ
lowkey the most important part, so pay attention bestie π«Ά
baseβ the base KMS object. every icon needs a foundation, periodt β¨devβ the DRM device. literally the main character here πhead_globalβ entry on the global blob list indrm_mode_config.property_blob_list. she's on the big list πhead_fileβ entry on the per-file blob list indrm_file.blobslist. and she's also on the smaller, more exclusive list πlengthβ size of the blob in bytes, invariant over the lifetime of the object. so like, this number does not change, no cap, it's locked in for life πdataβ the actual data, embedded at the end of this structure. the real payload, the whole point, the ~good stuff~ π
π Description π
okay so here's the tea β β Blobs are used to store bigger values than what fits directly into the 64 bits available for a drm_property. 64 bits is cute but sometimes you need MORE, y'know? and that's where blobs come in, slay π
Blobs are reference counted using drm_property_blob_get and drm_property_blob_put. they know their worth and they keep track of it π and they are created using drm_property_create_blob. that's the origin story, the creation myth, iconic β¨
π SEE ALSO π
go check these out too, iykyk π
- Kernel file
./include/drm/drm_property.h struct drm_property_enum(9)struct drm_property(9)drm_property_type_is(9)drm_property_find(9)
and that's the page bestie!! π¦ this lil gem lives in ./include/drm, and the version stamp says October 2026 β so like, future vibes fr fr πβ¨ go forth and blob responsibly ππ
π¦ 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