drm_plane_index(9)
π drm_plane_index(9) β like, the Kernel API Manual, bestie
Ok so welcome to the drm_plane_index(9) page, fresh out of the Kernel API Manual and honestly? It's a short one but she serves. β¨
πΈ NAME
drm_plane_index β find the index of a registered plane π
π¦ SYNOPSIS
unsigned int drm_plane_index (const struct drm_plane *plane );
π ARGUMENTS
planeβ the plane you wanna find the index for π like, this is the one bestie, hand her over
β¨ DESCRIPTION
So here's the vibe: you give it a registered plane, right? And it returns the index of that plane within a DRM device's list of planes. That's it. That's the whole thing. Short, sweet, iconic, no cap. π
π₯ SEE ALSO
Ok buckle up because the see-also list is long and she ate:
- Kernel file
./include/drm/drm_plane.h struct drm_plane_state(9)struct drm_plane_funcs(9)enum drm_plane_type(9)struct drm_plane(9)drmm_universal_plane_alloc(9)drm_universal_plane_alloc(9)drm_plane_mask(9)drm_plane_find(9)drm_for_each_plane_mask(9)drm_for_each_legacy_plane(9)drm_for_each_plane(9)
π«Ά go read them, iykyk, main character energy only
And that's the page, periodt π
β brought to you by ./include/drm, dated October 2026, and yes she's still called drm_plane_index(9) in case you forgot already ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms