drm_crtc_vblank_put(9)
π 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:
- vblank 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_wait_one_vblank(9)drm_crtc_vblank_off(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)
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
- 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