dpu_hw_ctl_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dpu_hw_ctl_init(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for dpu_hw_ctl_init β€” this one is lowkey important, so pay attention. πŸ’…βœ¨

🌸 NAME 🌸

dpu_hw_ctl_init β€” initializes the ctl_path hw driver object. Bestie, it should be called before accessing any ctl_path register. No cap, do that first. 🫢

✨ SYNOPSIS ✨

struct dpu_hw_ctl * dpu_hw_ctl_init (struct drm_device *dev , const struct dpu_ctl_cfg *cfg , void __iomem *addr , const struct dpu_mdss_version *mdss_ver , u32 mixer_count , const struct dpu_lm_cfg *mixer );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the corresponding device for devres management. It's giving β€œresource ownership” energy. 🫢
  • cfg β€” the ctl_path catalog entry for which the driver object is required. iykyk, it's the catalog entry. πŸ“š
  • addr β€” the mapped register io address of MDP. literally the mapped register io address. πŸ—ΊοΈ
  • mdss_ver β€” the dpu core's major and minor versions. version check slay. πŸ¦‹
  • mixer_count β€” number of mixers in mixer. count 'em, bestie. πŸ”’
  • mixer β€” pointer to an array of Layer Mixers defined in the catalog. yes, an array of Layer Mixers, exactly like it says. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c β€” go read the source, bestie, it's iconic. πŸ‘‘

cute little sign-off: this page lives under ./drivers/gpu/drm/msm/disp/dpu1 in the Kernel API Manual, and it's dated October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from