drm_plane_from_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 drm_plane_from_index(9) 🌸

okay bestie, welcome to the drm_plane_from_index(9) page from the Kernel API Manual β€” yes that's the whole title, we're not skipping the manual name, it's part of the vibe πŸ’…


✨ NAME ✨

drm_plane_from_index β€” find the registered plane at an index

πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_plane * drm_plane_from_index (struct drm_device *dev , int
       idx );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the DRM device, aka the main character here πŸ‘‘
  • idx β€” the index of the registered plane you're trying to find, like its little locker number fr fr

πŸ’– DESCRIPTION πŸ’–

so basically: you hand it a plane index, and it goes through the DRM device's list of planes and returns the registered plane whose index matches. that's it, that's the whole slay ✨

highkey important detail: this is the inverse of drm_plane_index. like, they're each other's mirror selfie πŸͺž no cap.

πŸ”₯ SEE ALSO πŸ”₯

the whole group chat, honestly:


that's the whole page, bestie 🫢 this came out of ./drivers/gpu/drm in October 2026, and the footer was serving drm_plane_from_index(9) β€” go read the others now, periodt 🌈⭐

πŸ“¦ where this page comes from