drm_atomic_h...rtc_set_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_h...rtc_set_mode(9)

okay so real talk β€” you're reading a section 9 page from the Kernel API Manual, and the star of the show is drm_atomic_helper_commit_crtc_set_mode. yes the header truncates it with ... because man page headers have zero chill about long names, iykyk. the full function name is right down there in NAME, don't worry bestie 🫢

✨ NAME ✨

drm_atomic_helper_commit_crtc_set_mode β€” set the new mode. that's it, that's the whole job. iconic honestly πŸŽ€

✨ SYNOPSIS ✨

void drm_atomic_helper_commit_crtc_set_mode (struct drm_device *dev ,
       struct drm_atomic_commit *state );

like β€” returns void, takes two pointers. no cap, that's the entire signature πŸ’…

🌸 ARGUMENTS 🌸

  • dev β€” the DRM device. your graphics device bestie, the whole reason we're here ✨
  • state β€” the driver state object. this is the snapshot of everything that's about to be real, so treat it with respect 🧚

πŸ”₯ DESCRIPTION πŸ”₯

okay so picture this: it loops over all connectors in the current state, and for each one it checks whether the mode has changed. if it has? we change the mode of the CRTC β€” slay. then it calls down the bridge chain and changes the mode in all the bridges too. the whole chain eats, nobody gets left behind πŸ‘‘

so like, it's giving "propagate the mode change everywhere it needs to go." CRTC first, bridges after. periodt πŸ’œ

ngl a "current state" is doing a lot of heavy lifting in that sentence, so if you're fuzzy on what state is current, go read the SEE ALSO list. it's long. she's thorough. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

okay bestie, buckle up, this list is long and every single one of these matters β€” I did not skip a single one, not one πŸ™ˆ


and that's the whole page, bestie πŸŽ€ this little number lives in the source tree at ./drivers/gpu/drm, and the version/date stamp on it is October 2026 β€” so yeah, she's dated, she's official, and she's got the same truncated drm_atomic_h...rtc_set_mode(9) name up in the corner. go set some modes, you've got this πŸ’–βœ¨

πŸ“¦ where this page comes from