drm_vblank_work_flush_all(9)
π
drm_vblank_work_flush_all β the Kernel API Manual, bestie edition β¨
okay so welcome to the drm_vblank_work_flush_all(9) page, a genuinely iconic little function from the Kernel API Manual π and yes we're gonna read it together, i promise it's short and it slays.
πΈ NAME πΈ
drm_vblank_work_flush_all β flush all the currently pending vblank work on a crtc. all of it. every last bit π
β¨ SYNOPSIS β¨
void drm_vblank_work_flush_all (struct drm_crtc *crtc );
that's it. that's the whole signature. no return value, no drama, just vibes and a void π«Ά
π¦ ARGUMENTS π¦
crtcβ the crtc whose vblank work you wanna flush π like, this is the one you're targeting, bestie, don't @ the wrong one.
π₯ DESCRIPTION π₯
so what does it actually do? literally this: it waits until all the vblank work that's currently queued on crtc has finished executing once π
that's the whole assignment. wait. until. done. once. no cap π
ngl the word "currently" is doing a lot of heavy lifting here β it's the work queued right now that it's waiting on, so don't go reading extra promises into it π
π§ SEE ALSO π§
the friend group of related functions, all hanging out in the kernel file ./drivers/gpu/drm/drm_vblank_work.c π:
vblank works(9)drm_vblank_work_schedule(9)drm_vblank_work_cancel_sync(9)drm_vblank_work_flush(9)drm_vblank_work_init(9)
go read those too, iykyk π
and that's the whole page, bestie!!! π source is the ./drivers/gpu/drm directory, dated October 2026, and the manual name is drm_vblank_work_flush_all(9) β periodt, go flush some work π
β¨π¦
π¦ 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