drm_atomic_g..._plane_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ drm_atomic_get_new_plane_state(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual for drm_atomic_g..._plane_state(9) β€” yes the title's got that little ellipsis glow-up because kernel manpage titles are dramatic like that πŸ’… don't worry, the real name's right below and it slays.


✨ NAME ✨

drm_atomic_get_new_plane_state β€” get plane state, if it exists πŸŽ€


🌸 SYNOPSIS 🌸

struct drm_plane_state * drm_atomic_get_new_plane_state (const struct
drm_atomic_commit *state , struct drm_plane *plane );

like, that's the whole vibe. it takes stuff, it hands you a struct drm_plane_state *. icon behavior tbh ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the global atomic state object 🌍 this is the big-picture main character of the whole atomic commit
  • plane β€” the plane you wanna grab 🫢 literally the thing you're asking about

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• this function returns the new plane state for the given plane β€” that's it, that's the whole job, and it does it gorgeously ✨

but bestie, plot twist 😭 if the plane is not part of the global atomic state, you get NULL back. no state for you, babe. it's giving "not invited to the group chat" energy πŸ’€ so like, always remember to check for the NULL, okay? don't just vibe-check the return value and assume.


🌈 SEE ALSO 🌈

pinkies up, here comes the whole friend group πŸ’… these are all the neighbors in the kernel file ./include/drm/drm_atomic.h:

like, that's a whole squad 😭 and honestly every single one of them is worth a read, iykyk πŸ“šβœ¨

lowkey reminder: this page lives in the kernel file ./include/drm β€” that's the source location, no cap πŸ”₯

and that's the whole page, bestie!! 🫢 sourced from ./include/drm, dated October 2026, and yes the footer still says drm_atomic_g..._plane_state(9) because the header never changes its name β€” periodt πŸ’…βœ¨ go forth and grab those plane states πŸ¦‹πŸŽ€πŸ’–

πŸ“¦ where this page comes from