drm_plane_cr...ine_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_plane_cr...ine_property(9) β€” bestie edition πŸ’…

okay so this is from the Kernel API Manual and it's lowkey one of those tiny functions that just does one thing and does it cute. let's get into it πŸŽ€


✨ NAME ✨

drm_plane_create_color_pipeline_property β€” creates a brand new color pipeline property, no cap πŸ’«


🌸 SYNOPSIS 🌸

int drm_plane_create_color_pipeline_property (struct drm_plane *plane ,
const struct drm_prop_enum_list *pipelines , int num_pipelines );

like, that's the whole signature. she's not complicated and honestly? love that for her 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the drm plane in question, the main character of this whole operation πŸ‘‘
  • pipelines β€” the list of pipelines, aka the lineup of options ✨
  • num_pipelines β€” how many pipelines are in that list, like a headcount bestie πŸ’…

πŸ’– DESCRIPTION πŸ’–

so basically this function creates the COLOR_PIPELINE plane property, and it's there to specify the color pipelines on the plane. that's it. that's the vibe. it's giving "one job, done well" 🧚


⭐ RETURN ⭐

zero for success, or -errno if things went sideways 😭 (standard kernel behavior, iykyk)


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie β€” go read all those siblings too, they're literally iconic πŸ“šβœ¨

sign-off szn: this one lives in ./drivers/gpu/drm and the page is dated October 2026 β€” so it's basically a time traveler πŸ’€πŸ•°οΈ πŸ’œ

πŸ“¦ where this page comes from