drm_crtc_vblank_off(9)
β¨ 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 π
- Kernel file
./drivers/gpu/drm/drm_vblank.cvblank handling(9) drm_crtc_accurate_vblank_count(9)drm_vblank_init(9)drm_dev_has_vblank(9)drm_crtc_vblank_waitqueue(9)drm_calc_timestamping_constants(9)drm_crtc_vblank_helper_get_vblank_timestamp_internal(9)drm_crtc_vblank_helper_get_vblank_timestamp(9)drm_crtc_get_last_vbltimestamp(9)drm_crtc_vblank_count(9)drm_vblank_count_and_time(9)drm_crtc_vblank_count_and_time(9)drm_crtc_next_vblank_start(9)drm_crtc_arm_vblank_event(9)drm_crtc_send_vblank_event(9)drm_crtc_vblank_get(9)drm_crtc_vblank_put(9)drm_crtc_wait_one_vblank(9)drm_crtc_vblank_reset(9)drm_crtc_set_max_vblank_count(9)drm_crtc_vblank_on_config(9)drm_crtc_vblank_on(9)drm_crtc_vblank_restore(9)drm_handle_vblank(9)drm_crtc_handle_vblank(9)drm_crtc_vblank_start_timer(9)drm_crtc_vblank_cancel_timer(9)drm_crtc_vblank_get_vblank_timeout(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms