STRUCT DPU_ENCODER_PHYS_WB(9)
π struct dpu_encoder_phys_wb(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the Kernel API Manual, and today's main character is struct dpu_encoder_phys_wb. sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
struct dpu_encoder_phys_wb β a sub-class of dpu_encoder_phys that literally exists to handle command mode specific operations. it's giving "specialized child struct" energy π
πΈ SYNOPSIS πΈ
struct dpu_encoder_phys_wb {
struct dpu_encoder_phys base;
atomic_t wbirq_refcount;
int wb_done_timeout_cnt;
struct dpu_hw_wb_cfg wb_cfg;
struct drm_writeback_connector *wb_conn;
struct drm_writeback_job *wb_job;
struct dpu_hw_fmt_layout dest;
};
no cap, that's the whole shape of her π
π Members π
baseβ the baseclass physical encoder structure. she inherited it from her motherdpu_encoder_phys, iconic lineage fr πwbirq_refcountβ reference count of writeback interrupt. anatomic_t, so she's thread-safe and unbothered β¨wb_done_timeout_cntβ the number of wb done irq timeout errors. a little counter of sadness π every time writeback doesn't finish in time, this goes upwb_cfgβ the writeback block config, used to store fb related details. thestruct dpu_hw_wb_cfgholding the receipts π§Ύwb_connβ backpointer to the writeback connector (struct drm_writeback_connector *). she knows where she came from π¦wb_jobβ backpointer to the current writeback job (struct drm_writeback_job *). note "current" β the job in flight right now, main character energy only π₯destβ thestruct dpu_hw_fmt_layoutdpu buffer layout for the current writeback output buffer. where the pixels are actually going π¦
π SEE ALSO π
peep these, iykyk π
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h enum dpu_enc_split_role(9)enum dpu_enc_enable_state(9)struct dpu_encoder_phys_ops(9)enum dpu_intr_idx(9)struct dpu_encoder_phys(9)struct dpu_encoder_phys_cmd(9)struct dpu_enc_phys_init_params(9)
π reminder bestie: this is a kernel API doc β the signatures, types, and names above are literal. copy them exactly, don't get creative with the C, only with the vibes.
and that's the whole page, periodt π so anyway β this little love letter lives in ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's filed under struct dpu_encoder_phys_wb(9). go read the header file, slay, bye bestie πβ¨π¦
π¦ 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