for_each_ne...tate_reverse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so <pink>literally</pink> for_each_new_plane_in_state_reverse β€” yes, that’s the whole name, and it lives in the Kernel API Manual πŸ’–. Other than only tracking the new state, it’s the same as for_each_oldnew_plane_in_state_reverse. That’s the main-character plot twist, bestie ✨


🌸 SYNOPSIS 🌸

for_each_new_plane_in_state_reverse (__state , plane , new_plane_state , __i );

πŸŽ€ ARGUMENTS πŸŽ€

  • __state β€” a struct drm_atomic_commit pointer. yes, that exact type, no cap.
  • plane β€” your struct drm_plane iteration cursor.
  • new_plane_state β€” the struct drm_plane_state iteration cursor for the new state.
  • __i β€” an int iteration cursor, and it’s for macro-internal use only. it’s giving β€œbackstage pass only” iykyk πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./include/drm/drm_atomic.h.

the whole friend group is here, and every single one is invited:


source/version: ./include/drm Β· date: October 2026 Β· page: for_each_ne...tate_reverse(9) β€” that’s the cute lil footer, mwah πŸ’‹βœ¨πŸ«Ά

πŸ“¦ where this page comes from