drm_for_each_plane(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

drm_for_each_plane β€” iterate over all planes. Hiiii bestie, welcome to the drm_for_each_plane(9) page from the Kernel API Manual 🫢✨ This one is short and sweet: it’s all about iterating over all planes, and it’s literally giving β€œloop through the whole plane squad” energy πŸ’…


πŸŒ€ SYNOPSIS πŸŒ€

drm_for_each_plane (plane , dev );

Yep, that’s the whole call, bestie β€” copy it exactly, spaces and all 😌


🌸 ARGUMENTS 🌸

  • plane β€” the loop cursor. It’s the variable that keeps track of where you are as the loop goes around πŸŒ€
  • dev β€” the DRM device. The device whose planes you’re visiting, basically the main character here πŸ‘‘

✨ DESCRIPTION ✨

Okay so here’s the vibe: drm_for_each_plane iterates over all planes of dev, and yes β€” it includes the primary and cursor planes too πŸ‘‘πŸ”₯ Nothing gets left out of the plane party. It’s literally a loop over every plane on the DRM device, and those primary and cursor planes are absolutely invited πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹

Go touch some related docs, bestie β€” these are the whole squad 🫢

okay that’s the whole page, bestie πŸ’– source/version: ./include/drm; date: October 2026; and it’s literally drm_for_each_plane(9) signing off. slay βœ¨πŸ’…

πŸ“¦ where this page comes from