STRUCT DRM_PLANE_SIZE_HINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct drm_plane_size_hint(9) β€” Kernel API Manual, but make it make sense ✨

okay bestie, so this one is a page out of the Kernel API Manual, and it's literally just a lil struct that tells you how big a plane wants to be. that's it. that's the whole vibe. it's giving "small but important" πŸŽ€


🌸 NAME 🌸

struct drm_plane_size_hint β€” plane size hints, aka the receipts on how big your plane should be πŸ’…


✨ SYNOPSIS ✨

here's the whole struct, copy it exactly bestie, no typos:

struct drm_plane_size_hint {
    __u16 width;
    __u16 height;
 };

πŸ¦‹ Members πŸ¦‹

  • width β€” the width of the plane, in pixel (yes, "pixel", singular, that's what it says, and honestly? iconic of it) 🌈
  • height β€” the height of the plane, in pixel 🫢

🧚 Description 🧚

so the plane SIZE_HINTS property blob contains an array of struct drm_plane_size_hint. that's the whole description. an array of these lil cuties, stacked, living inside a property blob. no cap πŸ’–


⭐ SEE ALSO ⭐

the whole group chat, in order, and yes you're gonna read every single name because they're all invited πŸŽ€:

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

lowkey a whole friend group in ./include/uapi/drm and you're invited to the group chat πŸ’€πŸ’–

kisses, and that's a wrap! this one came straight out of the ./include/uapi/drm directory, with a date stamp of October 2026, and yeah β€” same header, same footer, just with way more personality πŸ“πŸ§šβ€β™€οΈπŸ‘‘

πŸ“¦ where this page comes from