drm_crtc_vblank_on_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_crtc_vblank_on_config(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual, and it's about drm_crtc_vblank_on_config(9) β€” which is lowkey the fancy version of turning vblank events on for a CRTC. yes, the name is a mouthful. no, we're not skipping it. let's get into it ✨


🌸 SYNOPSIS 🌸

void drm_crtc_vblank_on_config (struct drm_crtc *crtc , const struct
drm_vblank_crtc_config *config );

literally the whole signature, character for character, because i would never do you dirty like that 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • crtc β€” the CRTC in question. like, the one we're talking about. that one πŸ‘€
  • config β€” the vblank configuration value. this is your custom vibe check for how vblank should behave on this CRTC.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: check out drm_crtc_vblank_on. that's the base function. this one does all that and lets you hand over a custom vblank configuration for a given CRTC. highkey a glow-up πŸ’…

important note, bestie β€” config gets copied. so that pointer does not need to stay valid past this function call. you can let it go, it's fine, it's already been screenshotted 😭

for the deets on what all those parameters actually are, go look at struct drm_vblank_crtc_config. that's where the full rundown lives 🌈


⭐ SEE ALSO ⭐

like, the entire vblank friend group. no cap, that's the full list β€” every single one of them πŸ’œ


okay and that's the page!! before you go, the source lives at ./drivers/gpu/drm and this version is dated October 2026 πŸŽ€ tysm for reading, go forth and enable those vblank events with your custom config, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from