drm_plane_c..._1d_lut_init(9)
π 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β thedrm_coloropobject you're initializing. this is the glow-up in progress β¨planeβ the associateddrm_planeit'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 theDRM_COLOROP_FLAG_*defines. and heads up: it returns zero on success, and a-Evalue on failure. that-Eis your villain arc π so check it, bestie.
ngl the return-value sentence in the original is bundled right into theflagsdescription, so keep that energy: zero on success,-Evalue 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:
drm_colorop_cleanup(9)drm_colorop_destroy(9)drm_colorop_pipeline_destroy(9)drm_plane_colorop_curve_1d_init(9)drm_plane_colorop_mult_init(9)__drm_atomic_helper_colorop_destroy_state(9)__drm_colorop_state_init(9)drm_atomic_helper_colorop_create_state(9)__drm_colorop_reset(9)drm_get_colorop_lut1d_interpolation_name(9)drm_get_colorop_lut3d_interpolation_name(9)drm_colorop_set_next_property(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms