dpu_hw_lm_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ dpu_hw_lm_init(9) β€” Kernel API Manual πŸ¦‹

hii bestie πŸ’– welcome to the dpu_hw_lm_init(9) page from the Kernel API Manual. This one is giving β€œsmall function, very important job” energy, so let’s get into it ✨


πŸŽ€ NAME πŸŽ€

dpu_hw_lm_init β€” initializes the mixer hw driver object. It should be called once before accessing every mixer. periodt πŸ’…


πŸ› οΈ SYNOPSIS πŸ› οΈ

struct dpu_hw_mixer * dpu_hw_lm_init (struct drm_device *dev , const struct dpu_lm_cfg *cfg , void __iomem *addr , const struct dpu_mdss_version *mdss_ver );

πŸ’¬ ARGUMENTS πŸ’¬

okay so here’s the cast of characters, and yes they all matter 🫢

  • dev β€” the corresponding device for devres management. it’s the device bestie in charge of devres stuff ✨
  • cfg β€” the mixer catalog entry for which the driver object is required. like, which mixer are we setting up? this tells you πŸ”₯
  • addr β€” the mapped register io address of MDP. literally the address vibe check for MDP πŸ’…
  • mdss_ver β€” the DPU core’s major and minor versions. gotta know the version, no cap πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c πŸ¦‹
  • _stage_offset(9) 🌸

made with πŸ’– from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026 β€” bye bestie, go init that mixer once before every access 😭🫢

πŸ“¦ where this page comes from