drm_flip_work_queue(9)
π drm_flip_work_queue(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little kernel function called drm_flip_work_queue and honestly? she's a vibe. short, sweet, does exactly one thing. let's get into it π
πΈ NAME
drm_flip_work_queue β queue work π«Ά
like, literally just queue the work. that's the whole job. iconique behaviour tbh.
β¨ SYNOPSIS
void drm_flip_work_queue (struct drm_flip_work *work , void *val );
no return value, no drama, just vibes and a void. π
π¦ ARGUMENTS
workβ the flip-work π this is thestruct drm_flip_work *bestie, the whole little work-machinery situation you're feedingvalβ the value to queue π avoid *, so it can be literally whatever you need it to be, and it gets handed back to you later. iykyk
π DESCRIPTION
Queues work β and like, "later" is doing some heavy lifting here, so let me be clear π the work you queue does not run right away. it will later be run (passed back to drm_flip_func_t func) on a work queue after drm_flip_work_commit is called. so this is the "put it in the pile" step, not the "do it" step. no cap. π₯
so the order of operations is giving:
- you queue stuff with
drm_flip_work_queueπ§ - it sits there, patiently, main character energy
- you call
drm_flip_work_commit - then it actually runs on the work queue and your func gets called π
periodt. that's the whole flow π
β SEE ALSO
- Kernel file
./drivers/gpu/drm/drm_flip_work.cβ the source, go read her, she ate π drm_flip_work_commit(9)drm_flip_work_init(9)drm_flip_work_cleanup(9)
like the whole little flip-work friend group honestly π«Ά go say hi to all of them.
heads up bestie: don't expect anything to happen until drm_flip_work_commit(9) shows up. queueing alone is just collecting, not running. β¨
and that's the page!! mwah π this came out of ./drivers/gpu/drm and it's dated October 2026 β so like, future slay πΈπ¦ go queue something iconic, ily, bye!! ππ
π¦ 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