_dpu_plane_calc_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– _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 the dpu catalog structure. iconic little config source πŸ’–
  • fmt β€” pointer to source buffer format. yes bestie, the format matters πŸ¦‹
  • mode β€” pointer to drm display 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


mwah πŸ’‹ β€” footer source/version: ./drivers/gpu/drm/msm/disp/dpu1, date: October 2026. slay, that's the whole page 🫢

πŸ“¦ where this page comes from