STRUCT DPU_HW_CDM_CFG(9)
β¨ 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 themsm_formatof 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms