_dpu_plane_calc_fill_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _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 the drm plane, bestie 🫢
  • pipe β€” pointer to the software pipe, yes another pointer, we love pointers
  • lut_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:


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