drm_for_each_crtc(9)
π¦ drm_for_each_crtc(9): iterate over all CRTCs π¦
okay bestie, this is a page from the Kernel API Manual, and itβs a short one, so hydrate and letβs go π
πΈ NAME πΈ
drm_for_each_crtc β iterate over all CRTCs. literally the whole vibe: loop over every CRTC. β¨
β¨ SYNOPSIS β¨
drm_for_each_crtc (crtc , dev );
π ARGUMENTS π
crtcβ astruct drm_crtcas the loop cursor. this is the cutie that walks the loop πdevβ thestruct drm_device. your device, your CRTCs, your moment π
π« DESCRIPTION π«
Iterate over all CRTCs of dev. no cap, thatβs the whole plot: devβs CRTCs get looped over, with crtc as the cursor. periodt. π¦
π₯ SEE ALSO π₯
Kernel file ./include/drm/drm_crtc.h is the home base. the rest of the squad:
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_reverse(9)
cute sign-off: source/version is ./include/drm, date is October 2026, and the page is drm_for_each_crtc(9) β slay, bye bestie π
π¦ 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