drm_plane_c..._1d_lut_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_plane_colorop_curve_1d_lut_init(9) β€” Kernel API Manual

okay so bestie, welcome to the Kernel API Manual ✨ (yes the header up top truncates the name to drm_plane_c..._1d_lut_init(9) because apparently full function names were too much for it, but we know the truth 🫢).


✨ NAME ✨

drm_plane_colorop_curve_1d_lut_init β€” literally just initializes a DRM_COLOROP_1D_LUT. That's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

int drm_plane_colorop_curve_1d_lut_init (struct drm_device *dev , struct
drm_colorop *colorop , struct drm_plane *plane , const struct
drm_colorop_funcs *funcs , uint32_t lut_size , enum
drm_colorop_lut1d_interpolation_type interpolation , uint32_t flags );

like… that's a lot of arguments, but we're gonna get through them together, i promise πŸ˜­πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the DRM device. the main character, the whole reason we're here πŸ‘‘
  • colorop β€” the drm_colorop object you're initializing. this is the glow-up in progress ✨
  • plane β€” the associated drm_plane it's attached to. besties fr fr 🫢
  • funcs β€” the control functions for the new colorop. yes, the new one. we're making a new one πŸ’…
  • lut_size β€” the LUT size that the driver supports. driver's choice, not yours 🌸
  • interpolation β€” the 1D LUT interpolation type. fancy, iconic, no cap πŸ”₯
  • flags β€” a bitmask of misc stuff, see the DRM_COLOROP_FLAG_* defines. and heads up: it returns zero on success, and a -E value on failure. that -E is your villain arc 😭 so check it, bestie.
ngl the return-value sentence in the original is bundled right into the flags description, so keep that energy: zero on success, -E value on failure. don't let a nonzero return jump-scare you at 3am πŸ’€

πŸ’œ SEE ALSO πŸ’œ

go be nosy, i love that for you πŸ‘€ β€” the kernel file ./drivers/gpu/drm/drm_colorop.c overview(9), plus:


okay that's the whole page, you ate that πŸ’– this came from ./drivers/gpu/drm, dated October 2026, and it's the drm_plane_c..._1d_lut_init(9) page β€” see you in the next manpage, mwah πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from