drm_writeback_queue_job(9)
β¨ drm_writeback_queue_job β¨
okay so bestie, welcome to the drm_writeback_queue_job(9) page β yes that's a real function name and yes it's from the Kernel API Manual π
this one's all about queuing up a writeback job so it can get signalled later. stay with me, it's actually not that deep π«Ά
πΈ SYNOPSIS πΈ
void drm_writeback_queue_job (struct drm_writeback_connector
*wb_connector , struct drm_connector_state *conn_state );
π ARGUMENTS π
wb_connectorβ the writeback connector you're queuing a job on. this is the main character of the operation πconn_stateβ the connector state that's holding the job you want to queue. the job's hiding in there, lowkey π¦
π¦ DESCRIPTION π¦
so this function takes the job that lives inside conn_state and adds it to the job_queue of a writeback connector. slay β¨
it takes ownership of the writeback job and sets conn_state->writeback_job to NULL β which means once this function returns, the caller literally cannot touch that job anymore. no cap. it's not yours now π
drivers must make sure that, for any given writeback connector, jobs get queued in exactly the same order the hardware will complete them in (and signal them via drm_writeback_signal_completion). same order, periodt. don't get cute with it π
and here's the matching-set rule: for every single call to drm_writeback_queue_job there must be exactly one call to drm_writeback_signal_completion. one in, one out, that's the vibe check π
See also: drm_writeback_signal_completion
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/drm_writeback.coverview(9) drm_writeback_connector_init(9)__drm_writeback_connector_init(9)drm_writeback_connector_init_with_encoder(9)drm_writeback_connector_cleanup(9)drmm_writeback_connector_init(9)drm_writeback_signal_completion(9)
and that's the whole page, bestie β go queue some jobs responsibly π
this cutie was brought to you by the source dir ./drivers/gpu/drm, dated October 2026 β drink water, read your kernel docs, and remember: exactly one signal per queue ππ§
π¦ 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