drm_vblank_work_flush_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ“:

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