drm_plane_c...urve_1d_init(9)
π 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β thedrm_coloropobject you're initializing. this is who we're getting ready for the runway πplaneβ the associateddrm_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 supporteddrm_plane_colorop_curve_1d_initenum values π§ you build it withBIT(curve_type)and then combine them all together using the OR'|'operator. craft time, fr fr πflagsβ bitmask of misc, see theDRM_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 π
- Kernel file
./drivers/gpu/drm/drm_colorop.c overview(9)drm_colorop_cleanup(9)drm_colorop_destroy(9)drm_colorop_pipeline_destroy(9)drm_plane_colorop_curve_1d_lut_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)
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
- 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