STRUCT DRM_MODE_PROPERTY_ENUM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct drm_mode_property_enum(9) ✨

okay bestie, welcome to the Kernel API Manual, and today's main character is struct drm_mode_property_enum β€” literally the little glow-up card that describes one single enum/bitfield entry πŸ’…


🌸 NAME 🌸

struct drm_mode_property_enum β€” the description for an enum/bitfield entry, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

struct drm_mode_property_enum {
    __u64 value;
    char name[DRM_PROP_NAME_LEN];
 };

bestie it's literally two fields. two. that's the whole vibe. πŸ¦‹


πŸ’– Members πŸ’–

  • value β€” the numeric value for this enum entry. like, the actual number-number, the receipts πŸ”’
  • name β€” the symbolic name for this enum entry. the cute lil label so humans can read it, ykwim 🏷️

🧚 Description 🧚

okay so β€” for the full tea, see struct drm_property_enum for details. this one right here is just the enum/bitfield entry description, and it's doing its job perfectly tyvm ✨


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, and we are obsessed with each one 🫢

  • the 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_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_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)

and that's the whole page bestie, go forth and enumerate ✨

this lil masterpiece lives in ./include/uapi/drm and it's dated October 2026 β€” so yeah, it's giving future icon, periodt πŸ’œπŸ‘‘

πŸ“¦ where this page comes from