drm_atomic_g..._plane_state(9)
π drm_atomic_g..._plane_state(9) β¨
okay so bestie, welcome to the Kernel API Manual, and specifically to drm_atomic_g..._plane_state(9) β yes the header is abbreviated with dots, that's just how the man page page-header rolls, the real function name is right below and it ate. π
πΈ NAME πΈ
drm_atomic_get_old_plane_state β get plane state, if it exists π¦
β¨ SYNOPSIS β¨
struct drm_plane_state * drm_atomic_get_old_plane_state (const struct
drm_atomic_commit *state , struct drm_plane *plane );
π«Ά ARGUMENTS π«Ά
stateβ the global atomic state object. yes the global one, the main character of the atomic world πplaneβ the plane you wanna grab. go get her π
π DESCRIPTION π
so what does this function actually do? it returns the old plane state for the given plane. that's it, that's the whole vibe. π
but listen β if that plane is not part of the global atomic state? you get NULL. not an error, not a crash, just NULL. lowkey the politest way to say "she's not here bestie" π
π§ SEE ALSO π§
like, so many friends in the family group chat. no cap, here's the whole list π
- Kernel file
./include/drm/drm_atomic.h struct drm_crtc_commit(9)struct drm_private_state_funcs(9)struct drm_private_obj(9)drm_for_each_privobj(9)struct drm_private_state(9)struct drm_atomic_commit(9)drm_crtc_commit_get(9)drm_crtc_commit_put(9)drm_atomic_commit_get(9)drm_atomic_commit_put(9)drm_atomic_get_old_crtc_state(9)drm_atomic_get_new_crtc_state(9)drm_atomic_get_new_plane_state(9)drm_atomic_get_old_connector_state(9)drm_atomic_get_new_connector_state(9)__drm_atomic_get_current_plane_state(9)for_each_oldnew_connector_in_state(9)for_each_old_connector_in_state(9)for_each_new_connector_in_state(9)for_each_oldnew_crtc_in_state(9)for_each_old_crtc_in_state(9)for_each_new_crtc_in_state(9)for_each_oldnew_colorop_in_state(9)for_each_new_colorop_in_state(9)for_each_oldnew_plane_in_state(9)for_each_oldnew_plane_in_state_reverse(9)for_each_new_plane_in_state_reverse(9)for_each_old_plane_in_state(9)for_each_new_plane_in_state(9)for_each_oldnew_private_obj_in_state(9)for_each_old_private_obj_in_state(9)for_each_new_private_obj_in_state(9)drm_atomic_crtc_needs_modeset(9)drm_atomic_crtc_effectively_active(9)struct drm_bus_cfg(9)struct drm_bridge_state(9)
k that's the whole page bestie, go get that old plane state π β¨
side note: this page lives in ./include/drm and it's dated October 2026 β genuinely iconic energy, we love a forward-thinking timestamp ππ mwah, 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