_dpu_plane_calc_fill_level(9)
β¨ _dpu_plane_calc_fill_level(9) β¨
okay so this is a page from the Kernel API Manual, and bestie, it's a whole little function that figures out the fill level of whatever source format you throw at it. it's giving "tiny but crucial" energy π
πΈ NAME πΈ
_dpu_plane_calc_fill_level β literally just calculates the fill level of the given source format, that's it, that's the whole job π
π¦ SYNOPSIS π¦
int _dpu_plane_calc_fill_level (struct drm_plane *plane , struct
dpu_sw_pipe *pipe , enum dpu_qos_lut_usage lut_usage , const struct
msm_format *fmt , u32 src_width );
π ARGUMENTS π
planeβ pointer to thedrmplane, bestie π«Άpipeβ pointer to the software pipe, yes another pointer, we love pointerslut_usageβ the LUT usecase, iykyk β¨fmtβ pointer to the source buffer format πsrc_widthβ the width of the source buffer, iconic and numeric π
π₯ RETURN π₯
it hands you back the fill level that corresponds to your source buffer / format β or 0 if something went wrong π zero means error here, so don't get it twisted fr fr π
π§ SEE ALSO π§
Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c β that's where the magic lives, go look π
and then the whole friend group of sibling functions, all of them, no gatekeeping:
_dpu_plane_calc_bw(9)_dpu_plane_calc_clk(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)
and that's the whole page, slay π
cute sign-off time: this one comes from the source tree at ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's filed under the Kernel API Manual β periodt πβ¨
π¦ 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