drm_atomic_h...create_state(9)
π drm_atomic_h...create_state(9) β Kernel API Manual
okay so bestie, welcome to the kernel API manual, this one's all about drm_atomic_helper_plane_create_state and honestly it's a little cutie. let's get into it π
β¨ NAME β¨
drm_atomic_helper_plane_create_state β the default &drm_plane_funcs.atomic_create_state hook for planes. that's it, that's the vibe π¦
πΈ SYNOPSIS πΈ
struct drm_plane_state * drm_atomic_helper_plane_create_state (struct drm_plane *plane );
π ARGUMENTS π
planeβ the plane object. that's the whole argument, she's low maintenance π
π DESCRIPTION π
so what does she do? she allocates and initializes a pristine drm_plane_state. pristine. brand new. no notes. β¨
and this is genuinely useful for drivers that don't subclass drm_plane_state β like if you're not doing the whole custom-struct thing, this hook has your back fr fr π«Ά
β RETURN β
a pointer to the new plane state π« β or, if things go sideways, an ERR_PTR on failure. no cap, check it.
π SEE ALSO π
bestie this list is long, but every single one of these is iconic in her own way, so here we go π
- Kernel file
./drivers/gpu/drm/drm_atomic_state_helper.catomic state reset and initialization(9) __drm_atomic_helper_crtc_state_init(9)__drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_create_state(9)__drm_atomic_helper_crtc_duplicate_state(9)drm_atomic_helper_crtc_duplicate_state(9)__drm_atomic_helper_crtc_destroy_state(9)drm_atomic_helper_crtc_destroy_state(9)__drm_atomic_helper_plane_state_init(9)__drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_reset(9)__drm_atomic_helper_plane_duplicate_state(9)drm_atomic_helper_plane_duplicate_state(9)__drm_atomic_helper_plane_destroy_state(9)drm_atomic_helper_plane_destroy_state(9)__drm_atomic_helper_connector_state_init(9)__drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_create_state(9)drm_atomic_helper_connector_tv_margins_reset(9)drm_atomic_helper_connector_tv_reset(9)drm_atomic_helper_connector_tv_check(9)__drm_atomic_helper_connector_duplicate_state(9)drm_atomic_helper_connector_duplicate_state(9)__drm_atomic_helper_connector_destroy_state(9)drm_atomic_helper_connector_destroy_state(9)__drm_atomic_helper_private_obj_create_state(9)__drm_atomic_helper_private_obj_duplicate_state(9)__drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_destroy_state(9)__drm_atomic_helper_bridge_state_init(9)drm_atomic_helper_bridge_create_state(9)
and that's the whole page bestie, you ate that π β¨
this lil masterpiece lives at ./drivers/gpu/drm, dated October 2026 β mwah, go read the source, ily ππ
π¦ 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