drm_plane_a...nts_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_plane_add_size_hints_property(9) πŸ’–

okay so bestie, you're in the Kernel API Manual and today's main character is drm_plane_add_size_hints_property β€” no cap, she's here to make a size hints property and she's gonna slay while doing it ✨


🌸 NAME 🌸

drm_plane_add_size_hints_property β€” create a size hints property πŸŽ€

like, literally that's the whole job. creating a size hints property. iconic behavior honestly.


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_plane_add_size_hints_property (struct drm_plane *plane , const
       struct drm_plane_size_hint *hints , int num_hints );

πŸ’… ARGUMENTS πŸ’…

  • plane β€” drm plane πŸ’œ (the plane in question, the one getting the glow-up)
  • hints β€” size hints 🌈 (the actual hints, she's const so don't even think about it)
  • num_hints β€” number of size hints πŸ“ (yes bestie, you gotta tell her how many)

✨ DESCRIPTION ✨

Create a size hints property for the plane. That's it, that's the vibe 🫢 β€” she makes the property, the plane gets the hints, everyone goes home happy.


πŸ”₯ RETURN πŸ”₯

Zero for success or -errno πŸ’€ β€” so like, 0 means you ate and left no crumbs, and a negative errno means something went sideways (the error code will tell you what).


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” go say hi:


okay that's the whole page bestie, you're officially educated πŸ’– this lil gem lives in ./drivers/gpu/drm and the version date situation is October 2026 β€” so like, future-coded but make it kernel 🌟 mwah, go forth and add those size hints πŸ§šβ€β™€οΈπŸ’…

πŸ“¦ where this page comes from