STRUCT DRM_MODE_CREATE_BLOB(9)
π 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:
- Kernel file
./include/uapi/drm/drm_mode.hoverview(9) - struct
drm_mode_modeinfo(9) - struct
drm_mode_get_plane(9) - struct
drm_mode_get_connector(9) - struct
drm_mode_property_enum(9) - struct
drm_mode_get_property(9) - struct
drm_mode_fb_cmd2(9) - enum
drm_colorop_type(9) - enum
drm_colorop_lut3d_interpolation_type(9) - enum
drm_colorop_lut1d_interpolation_type(9) - struct
drm_plane_size_hint(9) - struct
hdr_metadata_infoframe(9) - struct
hdr_output_metadata(9) DRM_MODE_PAGE_FLIP_EVENT(9)DRM_MODE_PAGE_FLIP_ASYNC(9)DRM_MODE_PAGE_FLIP_FLAGS(9)- struct
drm_mode_create_dumb(9) DRM_MODE_ATOMIC_TEST_ONLY(9)DRM_MODE_ATOMIC_NONBLOCK(9)DRM_MODE_ATOMIC_ALLOW_MODESET(9)DRM_MODE_ATOMIC_FLAGS(9)- struct
drm_mode_destroy_blob(9) - struct
drm_mode_create_lease(9) - struct
drm_mode_list_lessees(9) - struct
drm_mode_get_lease(9) - struct
drm_mode_revoke_lease(9) - struct
drm_mode_rect(9) - struct
drm_mode_closefb(9)
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
- 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