vkms_config_...ossible_crtc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vkms_config_plane_for_each_possible_crtc(9) β€” like, the Kernel API Manual bestie πŸŽ€

okay so picture this: you're deep in the kernel API manual (yes, that one, the Kernel API Manual, hi ✨) and you need to walk the CRTCs. no cap, this is the macro for you.


🌸 NAME 🌸

vkms_config_plane_for_each_possible_crtc β€” the little iterator that loops over every single CRTC a vkms_config_plane could possibly be into. it's giving matchmaker energy, honestly 🫢


✨ SYNOPSIS ✨

vkms_config_plane_for_each_possible_crtc (plane_cfg , idx ,
possible_crtc );

like, three things go in, the loop happens, you're living. periodt πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane_cfg β€” a struct vkms_config_plane pointer. this is the plane we're snooping on, main character energy, the whole loop revolves around her πŸ‘‘
  • idx β€” the index of the cursor. yes bestie, the cursor, not an index into the CRTCs, don't come for me, I just report what the manual says πŸ’€
  • possible_crtc β€” a struct vkms_config_crtc pointer, and it's used as the cursor. so every trip around the loop, this lil variable is gonna be pointing at whichever possible CRTC you're currently visiting. slay 🌈

πŸ”₯ SEE ALSO πŸ”₯

literally the whole friend group, iykyk 😭 β€”


aaaand that's the whole page, bestie πŸ’– mwah. this gem lives over in ./drivers/gpu/drm/vkms, and it's stamped October 2026, so mark your calendars πŸ—“οΈβœ¨ go forth and iterate, you absolute icon πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from