drm_property_lookup_blob(9)
π drm_property_lookup_blob(9) π
okay so welcome to the Kernel API Manual bestie, this is the page for drm_property_lookup_blob and honestly it's a lil shorty but she's important π
β¨ NAME β¨
drm_property_lookup_blob β look up a blob property and take a reference π«Ά
πΈ SYNOPSIS πΈ
struct drm_property_blob * drm_property_lookup_blob (struct drm_device
*dev , uint32_t id );
π¦ ARGUMENTS π¦
devβ the drm device, like, the whole vibe container you're searching in πidβ id of the blob property, that's your lil ticket number bestie ποΈ
π DESCRIPTION π
so here's the tea: if this succeeds, it takes an additional reference to the blob property β¨
and because it takes a reference, you the caller need to make sure to eventually unreference the returned property again, using drm_property_blob_put β no cap, don't just walk away from it, that's how you get leaks π
β RETURN β
NULL on failure, pointer to the blob on success π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_property.coverview(9)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_create_blob(9)drm_property_blob_put(9)drm_property_blob_get(9)drm_property_replace_global_blob(9)drm_property_replace_blob(9)drm_property_replace_blob_from_id(9)
quick reminder bestie: reference taken β reference gotta be put back with drm_property_blob_put. it's giving basic hygiene π
and that's the page!! brought to you by ./drivers/gpu/drm π§ dated October 2026 β go forth and look up those blobs, mwah ππ
π¦ 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