drm_crtc_vblank_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_crtc_vblank_put(9)

okay so bestie, we're in the Kernel API Manual today and this one is a whole mood β€” it's the function that says "k, I'm done with the vblank events, someone else can have them" πŸŽ€


✨ NAME ✨

drm_crtc_vblank_put β€” give up ownership of vblank events

like, literally hand the keys back. no cap. πŸ”‘


🌸 SYNOPSIS 🌸

void drm_crtc_vblank_put (struct drm_crtc *crtc );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • crtc β€” which counter to give up 🫢 (yes bestie, which one β€” you gotta tell it)

πŸ’– DESCRIPTION πŸ’–

Okay so here's the tea β˜• β€” this one releases ownership of a given vblank counter, and it turns off interrupts if possible. Iconic behaviour, honestly.

And the timing? It disables interrupts after drm_vblank_crtc_config.offdelay_ms milliseconds. Not before, not whenever, after exactly that many milliseconds. the way that's so specific πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/drm_vblank.c β€” and also, like, the entire vblank cinematic universe, fr fr:


pro tip from me to you: this is the put. the get is drm_crtc_vblank_get(9) and she's right up there in the list if you need her πŸ‘€

k bye bestie, this page came from ./drivers/gpu/drm and it's dated October 2026 β€” slay, see you in the next one πŸ’œβœ¨

πŸ“¦ where this page comes from