drm_for_each_legacy_plane(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ NAME โœจ

Okay so welcome to the <pink>Kernel API Manual</pink> page for drm_for_each_legacy_plane(9), bestie ๐Ÿซถ. The short iconic version: drm_for_each_legacy_plane โ€” iterate over all planes for legacy userspace. That's the name, that's the vibe, periodt ๐Ÿ’….

๐ŸŒ€ SYNOPSIS ๐ŸŒ€

drm_for_each_legacy_plane (plane , dev );

๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • plane โ€” the loop cursor. That's literally its whole job, no cap.
  • dev โ€” the DRM device. The main character of this little loop ๐Ÿ‘‘.

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Iterate over all legacy planes of dev, excluding primary and cursor planes. So yes bestie: legacy planes only โ€” primary and cursor planes are not invited to this party ๐Ÿ™ˆ. This is useful for implementing userspace apis when userspace is not universal plane aware. See also enum drm_plane_type. iykyk โœจ

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

Kernel file ./include/drm/drm_plane.h โ€” and here's the full SEE ALSO lineup, all accounted for, fr fr:


Cute little sign-off ๐Ÿ’–: this page comes from the ./include/drm source/version line, dated October 2026, and it's the drm_for_each_legacy_plane(9) page. Bye bestie, go iterate responsibly โœจ๐Ÿ’…

๐Ÿ“ฆ where this page comes from