STRUCT DPU_HW_FMT_LAYOUT(9)
π struct dpu_hw_fmt_layout(9) β like, the whole kernel API manual but make it make sense
okay bestie, so we're in the struct dpu_hw_fmt_layout(9) page, and it is literally a Kernel API Manual moment. the NAME says it all: this struct is format information of the source pixel data β¨ like, it's the glow-up blueprint for how your pixels are laid out. no cap.
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, do not touch:
struct dpu_hw_fmt_layout {
uint32_t num_planes;
uint32_t width;
uint32_t height;
uint32_t total_size;
uint32_t plane_addr[DPU_MAX_PLANES];
uint32_t plane_size[DPU_MAX_PLANES];
uint32_t plane_pitch[DPU_MAX_PLANES];
};
likeβ¦ the arrays are all DPU_MAX_PLANES sized, that's the main character detail π
π¦ Members π¦
okay so every single field, one by one, because we do not skip:
num_planesβ number of planes (including meta data planes). yes, meta data planes count too, they're part of the group chat πwidthβ image width. the horizontal situation.heightβ image height. the vertical situation.total_sizeβ total size in bytes. all of it. the whole thing π₯plane_addrβ address of each plane. where each plane actually lives.plane_sizeβ length of each plane. how long each one is.plane_pitchβ pitch of each plane. the pitch, bestie, per plane.
that's it, that's the roster. every field accounted for, no ghosts π
π SEE ALSO π
go read these next, iykyk:
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.henum dpu_3d_blend_mode(9)struct dpu_mdss_color(9)struct dpu_hw_tear_check(9)struct dpu_hw_pp_vsync_info(9)
π«Ά friendly reminder: the docs live under ./drivers/gpu/drm/msm/disp/dpu1, so if you're lost, that's the neighborhood, bestie.
and that's the page fr fr π this lil sign-off comes to you from the source at ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, tagged struct dpu_hw_fmt_layout(9) β slay, go read some kernel headers, ily πβ¨
π¦ 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