STRUCT DPU_ENC_PHYS_INIT_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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 the dpu_kms top level πŸ‘‘ like, your main character reference fr fr
  • parent β€” pointer to the containing virtual encoder 🧚 it's the parent, it contains, you get it
  • split_role β€” the role to play in a split-panel configuration 🌈 everybody's got a part in the group chat
  • hw_intf β€” hardware interface to the intf registers ⭐
  • hw_wb β€” hardware interface to the wb registers πŸ’œ
  • 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