drm_for_each_crtc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 β€” a struct drm_crtc as the loop cursor. this is the cutie that walks the loop πŸ’…
  • dev β€” the struct 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:


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