drm_crtc_vblank_off(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_crtc_vblank_off(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this page is literally all about drm_crtc_vblank_off, no cap πŸ’…


🌸 NAME 🌸

drm_crtc_vblank_off β€” disable vblank events on a CRTC πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void drm_crtc_vblank_off (struct drm_crtc *crtc );

πŸ’– ARGUMENTS πŸ’–

  • crtc β€” the CRTC in question, iykyk πŸ‘‘

✨ DESCRIPTION ✨

So here's the vibe: drivers can use this function to shut down the vblank interrupt handling when they're disabling a crtc. Like, turning it off off. 🫢

The important bit β€” and this is the part you gotta remember β€” is that this function makes sure the latest vblank frame count is stored, so that drm_vblank_on can restore it again later. Saving your spot, basically, but for frame counts πŸ’Ύβœ¨

🚨 Drivers must use this function when the hardware vblank counter can get reset β€” for example when suspending, or when disabling the crtc in general. Not optional, bestie. This is a must. πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr πŸ’œ


that's the whole page, bestie β€” go slay some vblank interrupts πŸ’…πŸ”₯

sign-off time 🫢 this one lives in ./drivers/gpu/drm, and the date on it is October 2026 β€” iconic, honestly. ⭐🌸

πŸ“¦ where this page comes from