STRUCT DPU_ENC_PHYS_INIT_PARAMS(9)
π« struct dpu_enc_phys_init_params β kernel API manual energy π«
okay so bestie, we're in the Kernel API Manual (section 9, for the curious π) and today's main character is struct dpu_enc_phys_init_params β literally the initialization parameters for phys encs β¨ like, it's giving "here's the starter pack for your physical encoder" π
πΈ NAME πΈ
struct dpu_enc_phys_init_params β initialization parameters for phys encs π
β¨ SYNOPSIS β¨
struct dpu_enc_phys_init_params {
struct dpu_kms *dpu_kms;
struct drm_encoder *parent;
enum dpu_enc_split_role split_role;
struct dpu_hw_intf *hw_intf;
struct dpu_hw_wb *hw_wb;
spinlock_t *enc_spinlock;
};
no cap, that's the whole shape of it π«Ά copy it exactly, don't be cute with it.
π¦ Members π¦
dpu_kmsβ pointer to thedpu_kmstop level π like, your main character reference fr frparentβ pointer to the containing virtual encoder π§ it's the parent, it contains, you get itsplit_roleβ the role to play in a split-panel configuration π everybody's got a part in the group chathw_intfβ hardware interface to theintfregisters βhw_wbβ hardware interface to thewbregisters πenc_spinlockβ the Virtual-Encoder-Wide Spin Lock for IRQ purposes π₯ lock it down bestie, IRQs are not playing
ngl, that spinlock line is doing a lot of heavy lifting β it's virtual-encoder-wide and it's for IRQ purposes, so don't go thinking it's just any old lock π
π SEE ALSO π
kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h β the whole squad lives here, and like, the friend group is:
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_encoder_phys_cmd(9)
literally go read them, iykyk π¦
π that's the whole page bestie β no hidden lore, no extra members, no bonus flags π
and like, a proper sign-off because we're classy: this one comes to you from ./drivers/gpu/drm/msm/disp/dpu1 π, dated October 2026 β, sitting pretty in the Kernel API Manual under struct dpu_..._init_params(9) π slay, 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