STRUCT DPU_PLANE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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