drm_atomic_h...create_state(9)
π drm_atomic_h...create_state(9)
okay bestie, so the manual page is literally titled drm_atomic_h...create_state(9) (yes the kernel truncated it, iconic of them), and it's all about one very specific little helper. buckle up π
β¨ NAME β¨
drm_atomic_helper_colorop_create_state β the function that allocates and initializes the colorop atomic state. two jobs, one baddie π«Ά
πΈ SYNOPSIS πΈ
struct drm_colorop_state * drm_atomic_helper_colorop_create_state
(struct drm_colorop *colorop );
π¦ ARGUMENTS π¦
coloropβ your drm colorop, that's it, that's the whole argument π
β DESCRIPTION β
so what it does is it initializes a pristine drm_colorop_state. like, fresh out the box, no cap. clean, untouched, main character energy β¨
π₯ RETURN π₯
it hands you back a pointer to the new colorop state π
but if things go sideways? you get an ERR_PTR on failure. so like, vibe check your return value before you use it, fr fr π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_colorop.coverview(9) drm_colorop_cleanup(9)drm_colorop_destroy(9)drm_colorop_pipeline_destroy(9)drm_plane_colorop_curve_1d_init(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_colorop_reset(9)drm_get_colorop_lut1d_interpolation_name(9)drm_get_colorop_lut3d_interpolation_name(9)drm_colorop_set_next_property(9)
like, go read them, iykyk π
and that's the whole page, bestie π this one lives under ./drivers/gpu/drm and it's dated October 2026 β so yeah, future-flavored kernel docs, slay. 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