STRUCT DPU_HW_CDM_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct dpu_hw_cdm_cfg β€” current configuration of CDM block ✨

okay bestie, welcome to the struct dpu_hw_cdm_cfg page from the Kernel API Manual πŸ’– this is literally the vibe-check struct for the CDM block's current configuration β€” like, the whole fit it's wearing right now. no cap.


🌸 SYNOPSIS 🌸

struct dpu_hw_cdm_cfg {
    u32 output_width;
    u32 output_height;
    u32 output_bit_depth;
    u32 h_cdwn_type;
    u32 v_cdwn_type;
    const struct msm_format *output_fmt;
    const struct dpu_csc_cfg *csc_cfg;
    u32 output_type;
    int pp_id;
 };

like, that's the whole thing. every field slays in its own little way, and we're gonna go through all of them one by one because nobody gets left behind on my watch 🫢


πŸ’… Members πŸ’…

  • output_width β€” the output ROI width of the CDM block. like, how wide the region-of-interest is coming out. iconic.
  • output_height β€” the output ROI height of the CDM block. same energy, vertical edition πŸ¦‹
  • output_bit_depth β€” the output bit-depth of the CDM block. yes ma'am, depth and bits. we contain multitudes.
  • h_cdwn_type β€” the downsample type used for horizontal pixels. it's giving horizontal shrinkage, respectfully.
  • v_cdwn_type β€” the downsample type used for vertical pixels. the vertical girlies get their own field, periodt.
  • output_fmt β€” a handle to the msm_format of the CDM block. it's the format bestie!! the whole aesthetic!!
  • csc_cfg β€” a handle to the CSC matrix programmed for the CDM block. matrix? programmed? yeah she's main character energy 😭
  • output_type β€” the interface to which the CDM is paired, i.e. HDMI / WB. it's giving "who's your plus-one".
  • pp_id β€” the ping-pong block that the CDM is bound to. yes, ping-pong πŸ“ not a drill, that's the actual name and we respect it.

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.h
  • struct dpu_hw_cdm_ops(9)
  • struct dpu_hw_cdm(9)

go read those too, iykyk πŸ’œ


fr fr bestie, if you're poking at these fields, you're already deep in the DPU CDM sauce β€” nothing here is a suggestion, it's literally the config. no invented behaviour, no extra tips, just the facts in a cuter outfit πŸ’€

and that's the page!! 🌈 brought to you by ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026 β€” yeah, the future, we're built different πŸŽ€ mwah, love u, go read the header file πŸ’–βœ¨

πŸ“¦ where this page comes from