drm_crtc_vblank_start_timer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_crtc_vblank_start_timer(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a little one but it's lowkey iconic β€” it's all about getting that vblank timer up and running on your CRTC. let's go πŸŽ€


🌸 NAME 🌸

drm_crtc_vblank_start_timer β€” starts the vblank timer on the given CRTC ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_crtc_vblank_start_timer (struct drm_crtc *crtc );

πŸ’… ARGUMENTS πŸ’…

  • crtc β€” the CRTC 🫢 that's it, that's the whole argument, she's simple and she knows it

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• β€” drivers should call this function from their CRTC's enable_vblank function to start a vblank timer. that's the whole assignment, no cap. the timer will fire after the duration of a full frame 🌈 (yes, one whole frame, she's punctual like that).

and if you ever need to shut it down? drm_crtc_vblank_cancel_timer disables a running timer πŸ’€ so like, start it here, cancel it there, balanced as all things should be ✨


⭐ RETURN ⭐

0 on success πŸŽ‰ or a negative errno code otherwise 😭 (yeah she can fail, check your return values bestie, fr fr)


πŸ”₯ SEE ALSO πŸ”₯

okay this list is long long, so buckle up 🧚 β€” every single one of these is your new best friend:


and that's the whole page, mwah πŸ’‹ this lil gem lives in ./drivers/gpu/drm, dated October 2026, and she's filed under drm_crtc_vblank_start_timer(9) β€” go forth and start those timers, bestie, iykyk πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from