intel_displa...r_flush_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

intel_display_power_flush_work β€” bestie, this one flushes the async display power disabling work πŸ’…

So like, the manual name is Kernel API Manual in case you were wondering where you wandered into, and yes we are in the kernel, we are in the i915 display power domain section, and we are thriving ✨


🌸 SYNOPSIS 🌸

void intel_display_power_flush_work (struct intel_display *display );

That's it. That's the whole signature. Void return, one pointer, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” the display device instance. Like, the actual display thing you're operating on, the main character of this whole function 🌈

πŸ’– DESCRIPTION πŸ’–

Okay so here's the vibe: this function flushes any pending work that was scheduled by a preceding intel_display_power_put_async call, and by doing that it completes the disabling of the corresponding power domains ⭐ So anything that got queued up asynchronously to power stuff down? It gets flushed through, and the disable actually finishes. Slay.

⚠️ Okay but listen, this is the important part β€” the work handler function may still be running after this function returns. Like, "flushed" does not mean "fully done and dusted," it means "flushed." If you genuinely need to be 100% sure the work handler is not running, you gotta use intel_display_power_flush_work_sync instead. That's the one that actually waits. Fr fr, don't get caught out by this one 😭

So quick vibe check: intel_display_power_flush_work = flush it and go. intel_display_power_flush_work_sync = flush it and make sure nothing's still running. Pick accordingly, iykyk πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/i915/display/intel_display_power.c β€” that's where the magic lives, go read it, it's giving source code realness πŸ“‚

And the whole extended friend group of related functions, all of them, every single one, no skips:

Periodt πŸ’…


🌈 Sign-off

That's the whole page, bestie! It lives in ./drivers/gpu/drm/i915/display, the manual's from October 2026, and the page is literally styled intel_displa...r_flush_work(9) because even manpage titles get truncated sometimes and honestly? Iconic. Go flush that work πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from