drm_plane_from_index(9)
πΈ 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:
- Kernel file
./drivers/gpu/drm/drm_plane.c overview(9)standard plane properties(9)hotspot properties(9)drm_plane_create_hotspot_properties(9)drm_universal_plane_init(9)drm_plane_cleanup(9)drm_plane_force_disable(9)drm_mode_plane_set_obj_prop(9)drm_plane_has_format(9)drm_any_plane_has_format(9)damage tracking(9)drm_plane_enable_fb_damage_clips(9)drm_plane_get_damage_clips_count(9)drm_plane_get_damage_clips(9)drm_plane_create_scaling_filter_property(9)drm_plane_add_size_hints_property(9)drm_plane_create_color_pipeline_property(9)
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
- 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