frontbuffer_flush(9)
π frontbuffer_flush β the kernel API manual, but make it make sense
okay so real talk, this is frontbuffer_flush(9) from the Kernel API Manual, and honestly? she's short but she matters. let's get into it π
πΈ NAME πΈ
frontbuffer_flush β flush frontbuffer. that's it, that's the vibe. she flushes. π
β¨ SYNOPSIS β¨
void frontbuffer_flush (struct intel_display *display , unsigned int
frontbuffer_bits , enum fb_op_origin origin );
like, look at her go π«Ά three args, returns void, no drama.
π¦ ARGUMENTS π¦
displayβ display device. the whole display situation, bestie. π₯οΈfrontbuffer_bitsβ frontbuffer plane tracking bits. this is the "which planes are we even talking about" bitfield, keep up. β¨originβ which operation caused the flush. like, why are we flushing? she wants to know. π
π DESCRIPTION π
okay so this function gets called every single time rendering on the given planes has completed and frontbuffer caching can be started again. every time. no cap. β
and here's the part that's giving main character energy: flushes will get delayed if they're blocked by some outstanding asynchronous rendering. so if you're sitting there like "why hasn't it flushed π" β bestie, something async is still cooking. π₯
also the icon that she is: can be called without any locks held. no lock anxiety, no "not me forgetting to unlock", just vibes. π§
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/display/intel_frontbuffer.cβ go read the source, iykyk π frontbuffer tracking(9)intel_frontbuffer_flip(9)intel_frontbuffer_queue_flush(9)intel_frontbuffer_track(9)
like, the whole friend group honestly π
ngl, this page is short β but every line is doing its job. don't skip the "no locks held" part, it's lowkey the most important sentence here. π
β¨ that's the whole page, bestie β¨ this cutie lives in ./drivers/gpu/drm/i915/display, dated October 2026, and she's frontbuffer_flush(9) β periodt. ππ
π¦ 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