__drm_atomi...estroy_state(9)
β¨ NAME β¨
Okay so welcome to the Kernel API Manual bestie π β this page is all about __drm_atomic_helper_colorop_destroy_state, which is literally the "release colorop state" function. That's the whole name, no cap. π
πΈ SYNOPSIS πΈ
void __drm_atomic_helper_colorop_destroy_state (struct drm_colorop_state
*state );
π¦ ARGUMENTS π¦
stateβ the colorop state object you're about to release π«Ά that's it, that's the argument.
π DESCRIPTION π
So here's the vibe: this function releases all the resources stored in the colorop state β key word resources, not the memory itself, bestie, keep up π β without actually freeing the memory of the colorop state.
It's giving very much "clean up your room but don't throw the room away" energy, and that is exactly why it's useful for drivers that subclass the colorop state. Iconic behavior honestly πβ¨
ngl this is the classic split: this helper frees the stuff inside, and the memory itself is somebody else's problem β the original is super clear that no memory gets freed here, so don't go assuming otherwise 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_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)
And that's the whole page, you ate that ππ β this little number lives over in ./drivers/gpu/drm, dated October 2026, and it says __drm_atomi...estroy_state(9) right up top so you know you're in the right place. 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