drm_atomic_g..._plane_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ


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