_dpu_plane_calc_bw(9)
π _dpu_plane_calc_bw(9) π
okay bestie, welcome to the Kernel API Manual entry for _dpu_plane_calc_bw(9) β yes, the leading underscore is part of the name, we don't make the rules π
. This one is literally about calculating the bandwidth required for a plane, and it's giving βmath but make it display-driver glamβ β¨.
πΈ NAME πΈ
_dpu_plane_calc_bw β calculate bandwidth required for a plane. That's the whole assignment, no cap π.
β¨ SYNOPSIS β¨
u64 _dpu_plane_calc_bw (const struct dpu_mdss_cfg *catalog , const struct msm_format *fmt , const struct drm_display_mode *mode , struct dpu_sw_pipe_cfg *pipe_cfg );
π ARGUMENTS π
catalogβ points to thedpucatalog structure. iconic little config source πfmtβ pointer to source buffer format. yes bestie, the format matters π¦modeβ pointer todrmdisplay mode. main character display timing energy πpipe_cfgβ pointer to pipe configuration. the pipe setup lives here πΈ
Result: Updates calculated bandwidth in the plane state.
BW Equation: src_w * src_h * bpp * fps * (v_total / v_dest)
Prefill BW Equation: line src bytes * line_time
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
_dpu_plane_calc_clk(9)_dpu_plane_calc_fill_level(9)_dpu_plane_set_qos_lut(9)_dpu_plane_set_qos_ctrl(9)_dpu_plane_set_ot_limit(9)_dpu_plane_set_qos_remap(9)_dpu_plane_color_fill(9)dpu_plane_flush(9)dpu_plane_set_error(9)dpu_plane_init(9)dpu_plane_init_virtual(9)
mwah π β footer source/version: ./drivers/gpu/drm/msm/disp/dpu1, date: October 2026. slay, that's the whole page π«Ά
π¦ 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