STRUCT DRM_MODE_DESTROY_BLOB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the blob_id you'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