STRUCT DPU_PLANE_STATE(9)
π struct dpu_plane_state(9) β the Kernel API Manual page, bestie edition π
Okay so picture this: it's a page from the Kernel API Manual (section 9, kernel-space realness) and today's main character is struct dpu_plane_state β literally the struct that defines the dpu extension of the drm plane state object. Yes queen, it's a struct and a vibe. π
β¨ NAME β¨
struct dpu_plane_state β bestie, this is the definition of the dpu extension of the drm plane state object. That's it, that's the whole gig. π
π¦ SYNOPSIS π¦
struct dpu_plane_state {
struct drm_plane_state base;
struct dpu_sw_pipe pipe[PIPES_PER_PLANE];
struct dpu_sw_pipe_cfg pipe_cfg[PIPES_PER_PLANE];
enum dpu_stage stage;
bool needs_qos_remap;
bool pending;
u64 plane_fetch_bw;
u64 plane_clk;
bool needs_dirtyfb;
struct dpu_hw_fmt_layout layout;
};
Look at her. Iconic. Not a single field out of place. π
πΈ MEMBERS πΈ
Time for the member-by-member vibe check β every single field, no skips, no cap:
baseβ the base drm plane state object. The foundation, the blueprint, the parent energy. π«Άpipeβ software pipe description array. Array of descriptions, one for each software pipe. Slay. β¨pipe_cfgβ software pipe configuration array. Same deal, but make it configuration. π₯stageβ assigned by crtc blender. Not her choice, the crtc blender said so. πneeds_qos_remapβ signals whether the qos remap settings need to be updated. When she says "update needed," believe her.pendingβ tells you whether the current update is still pending. The "are we there yet" of fields. πplane_fetch_bwβ the calculated BW per plane. Numbers! Calculated! Per plane! βplane_clkβ the calculated clk per plane. The clock math, also per plane. πneeds_dirtyfbβ whether the attached CRTC needs pixel data explicitly flushed. Flush it, bestie. πΏlayoutβ the framebuffer memory layout. Where everything lives and how it's arranged. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_plane.hβ go read the source, iykyk, it's giving homework but make it fun. π
And that's the teardown, bestie β no member left behind, and every word of it straight from the source.
fr fr the rule is: the facts don't change, only the vibe does. π
Later, legend β this page was served up from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's officially struct dpu_plane_state(9). 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