drm_colorop_destroy(9)
π drm_colorop_destroy(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil page about telling a colorop to go to bed. short and sweet, ngl β but every single detail is staying, periodt.
πΈ NAME πΈ
drm_colorop_destroy β destroy colorop πβ¨
π SYNOPSIS π
void drm_colorop_destroy (struct drm_colorop *colorop );
π¦ ARGUMENTS π¦
coloropβ the drm colorop in question. the main character of this whole function π«Ά
π DESCRIPTION π
So what it does is: it destroys the colorop by doing the common DRM cleanup and then freeing the colorop object. that's literally it. β¨
The way this is useful is β drivers can just call this if they don't require any driver-specific teardown. no extra cleanup of your own? cool, hand it over, this handles it. π
fr fr, if your driver does need its own teardown stuff, this is the "no driver-specific teardown required" option β don't skip your own work and assume this covers it π
β SEE ALSO β
Kernel file ./drivers/gpu/drm/drm_colorop.c overview(9)drm_colorop_cleanup(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_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)
go read those if you're nosy, iykyk ππ
and that's the whole vibe check, bestie π§π
this iconic lil page lives in ./drivers/gpu/drm, dated October 2026 β mwah, enjoy, slay, bye πππ
π¦ 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