STRUCT DPU_HW_CDM_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct dpu_hw_cdm_ops(9) page from the Kernel API Manual ✨ This is the interface to the chroma down Hw driver functions β€” and the big assumption is that these functions will be called after clocks are enabled 🫢


✨ SYNOPSIS ✨

       struct dpu_hw_cdm_ops {
           int (*enable)(struct dpu_hw_cdm *cdm, struct dpu_hw_cdm_cfg *cfg);
           void (*bind_pingpong_blk)(struct dpu_hw_cdm *cdm, const enum
       dpu_pingpong pp);
        };

🫢 Members 🫢

  • enable β€” Enable the CDM module πŸ’… cdm is a pointer to chroma down context. The synopsis signature is int (*enable)(struct dpu_hw_cdm *cdm, struct dpu_hw_cdm_cfg *cfg); so yeah, cfg is literally right there too πŸ‘‘
  • bind_pingpong_blk β€” Enable/disable the connection with pingpong πŸ¦‹ cdm is a pointer to chroma down context, and pp is the pingpong block id. The full signature above has the const enum dpu_pingpong pp situation going on, no cap 😭

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.h, plus struct dpu_hw_cdm_cfg(9) and struct dpu_hw_cdm(9) 🌸


mwah πŸ’‹ cute little sign-off: source is ./drivers/gpu/drm/msm/disp/dpu1, date is October 2026, and the page is struct dpu_hw_cdm_ops(9) β€” byeeee πŸŽ€πŸ’…

πŸ“¦ where this page comes from