STRUCT DPU_ENCODER_PHYS_CMD(9)
β¨ struct dpu_encoder_phys_cmd(9) β¨
okay bestie, so this is the Kernel API Manual page for struct dpu_encoder_phys_cmd β literally the whole glow-up guide to this one struct, and I'm gonna walk you through it like we're texting at 2am π«Ά
π NAME π
struct dpu_encoder_phys_cmd β it's a sub-class of dpu_encoder_phys (yes, the parent class, iconic family dynamic π
) and its whole job is handling command mode specific operations. That's the vibe. That's the assignment. No cap.
πΈ SYNOPSIS πΈ
here's the struct in all her main character glory β copy it exactly, bestie, don't you dare retype it from memory:
struct dpu_encoder_phys_cmd {
struct dpu_encoder_phys base;
int stream_sel;
bool serialize_wait4pp;
int pp_timeout_report_cnt;
atomic_t pending_vblank_cnt;
wait_queue_head_t pending_vblank_wq;
};
π¦ Members π¦
okay so let's meet the cast, one member at a time β each one gets their little intro paragraph:
baseβ the baseclass physical encoder structure. she's the foundation, the blueprint, the parent class doing parent class things πstream_selβ stream selection for multi-stream interfaces. pick your stream, babe, it's giving "choose your fighter" πserialize_wait4ppβ this one's theserialize_wait4ppfeature flag, and lowkey the way it works is: it waits for thepp_doneinterrupt afterctl_startinstead of before next frame kickoff. that ordering detail is the whole point, don't mix it up fr frpp_timeout_report_cntβ the number of pingpong done irq timeout errors. yeah. it's a counter. it's counting the oopsies πpending_vblank_cntβ an atomic counter tracking the pending wait for VBLANK. atomic, bestie, so it's safe out here π§pending_vblank_wqβ the wait queue for blocking until VBLANK is received. she'll hold you there until the vblank shows up, patient queen π
β SEE ALSO β
the required-reading list, the group chat members you should also be following:
- 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_wb(9)struct dpu_enc_phys_init_params(9)
ngl if you're digging through this struct you're probably deep in DPU encoder land β go read the whole header file, it's right there in ./drivers/gpu/drm/msm/disp/dpu1 π
and that's the whole page, bestie!! π
β¨ this one's living in ./drivers/gpu/drm/msm/disp/dpu1, and it's dated October 2026 β so like, future queen behavior honestly ππ mwah, go read your headers, 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