drm_for_each_plane(9)
π 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 π«Ά
- 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_index(9)drm_plane_mask(9)drm_plane_find(9)drm_for_each_plane_mask(9)drm_for_each_legacy_plane(9)
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
- 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