STRUCT DRM_MODE_DESTROY_BLOB(9)
π struct drm_mode_destroy_blob(9) β Kernel API Manual (yes, the manual manual, bestie) π
okay so picture this: it's a whole kernel API manual page, the header literally says struct drm_mode_destroy_blob(9) and everything. buckle up π¦
β¨ NAME β¨
struct drm_mode_destroy_blob β Destroy user blob πβ¨
πΈ SYNOPSIS πΈ
struct drm_mode_destroy_blob {
__u32 blob_id;
};
π§ Members π§
blob_idβ theblob_idyou're about to destroy. that's it, that's the member π«Ά
π Description π
So you've got yourself a user-created blob property and you need it gone. This is the struct for that. Destroy a user-created blob property, periodt π₯
The key thing β and this is the part that ate β user-space can release blobs as soon as they don't need to refer to them by their blob object ID anymore. Like, the moment you're not using that ID, you can yeet the blob. No cap.
For instance: if you're using a MODE_ID blob in an atomic commit and you will not make another commit re-using the same ID, you can destroy the blob as soon as the commit has been issued, without waiting for it to complete. the way that works is genuinely iconic β you don't have to sit there waiting for the commit to finish before you clean up π
ngl this one's a nice little struct, super lowkey, main character energy in its simplicity π
π SEE ALSO π
the whole friend group, iykyk β Kernel file ./include/uapi/drm/drm_mode.h overview(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_create_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) π
that's the whole page babes, no filler, we love a concise queen π and for the record this little beauty lives at ./include/uapi/drm and it's dated October 2026 β mark your calendars bestie, slay π
β
π¦ 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