drm_plane_c...urve_1d_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

drm_plane_colorop_curve_1d_init β€” okay bestie, this one initializes a DRM_COLOROP_1D_CURVE. That's the whole vibe. πŸŽ€

(also hi, this is the Kernel API Manual, welcome to the group chat ✨)


✨ SYNOPSIS ✨

int drm_plane_colorop_curve_1d_init (struct drm_device *dev , struct
       drm_colorop *colorop , struct drm_plane *plane , const struct
       drm_colorop_funcs *funcs , u64 supported_tfs , uint32_t flags );

Six arguments, one function, zero chill. Let's meet them 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the DRM device. the main character, honestly πŸ‘‘
  • colorop β€” the drm_colorop object you're initializing. this is who we're getting ready for the runway πŸ’…
  • plane β€” the associated drm_plane. they come as a set, iykyk πŸ”₯
  • funcs β€” the control functions for the new colorop. the entourage, if you will ✨
  • supported_tfs β€” a bitfield of supported drm_plane_colorop_curve_1d_init enum values 🧚 you build it with BIT(curve_type) and then combine them all together using the OR '|' operator. craft time, fr fr πŸŽ€
  • flags β€” bitmask of misc, see the DRM_COLOROP_FLAG_* defines. also: return zero on success, -E value on failure 😭 yes that last bit is bundled right in here, no cap πŸ’€

🌈 SEE ALSO 🌈

like a whole friend group of related functions, obsessed honestly πŸ¦‹πŸ’œ


okay that's the page!! this came out of ./drivers/gpu/drm, dated October 2026, and it's literally titled drm_plane_c...urve_1d_init(9) (yes the name got truncated, it's giving ellipsis era πŸ’€). bye bestie, go init some curves πŸŽ€βœ¨

πŸ“¦ where this page comes from