drm_for_each_crtc_reverse(9)
π NAME π
drm_for_each_crtc_reverse(9) β from the Kernel API Manual, bestie β is literally the reverse-order CRTC loop. The NAME line says it all: iterate over all CRTCs in reverse order. Periodt. π
β¨
β¨ SYNOPSIS β¨
Ok so the synopsis is giving exactly this, no cap:
drm_for_each_crtc_reverse (crtc , dev );
π ARGUMENTS π
crtcβ astruct drm_crtcas the loop cursor. Sheβs your main-character cursor for this whole loop, okay? πdevβ thestruct drm_device. This is the device vibe weβre working with, fr fr. π¦
π¦ DESCRIPTION π¦
Iterate over all CRTCs of dev.
Thatβs the whole description, bestie β no hidden lore, no extra side quests. The reverse-order part is already iconic in the NAME, so weβre just looping over every CRTC of dev and letting the reverse energy do its thing. ππ
π₯ SEE ALSO π₯
- Kernel file
./include/drm/drm_crtc.h struct drm_crtc_state(9)struct drm_crtc_funcs(9)struct drm_crtc(9)struct drm_mode_set(9)drmm_crtc_alloc_with_planes(9)drm_crtc_index(9)drm_crtc_mask(9)drm_crtc_find(9)drm_for_each_crtc(9)
Cute sign-off time, bestie: source/version is ./include/drm, date is October 2026, and this iconic page is drm_for_each_crtc_reverse(9). Byeee πβ¨π
π¦ 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