STRUCT MPCC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpcc(9)

okay bestie, so this is the struct mpcc page from the Kernel API Manual β€” and no, I didn't forget the manual name, it's right there, we're just vibing. This struct is literally the MPCC connection and blending configuration for a single MPCC instance. Periodt. πŸŽ€


✨ SYNOPSIS ✨

struct mpcc {
    int mpcc_id;
    int dpp_id;
    struct mpcc *mpcc_bot;
    struct mpcc_blnd_cfg blnd_cfg;
    struct mpcc_sm_cfg sm_cfg;
    bool shared_bottom;
 };

like, that's the whole thing. copy it exactly, don't @ me 🫢


🌸 Members 🌸

  • mpcc_id β€” the MPCC physical instance. yes, it's an int. it's giving ID energy πŸ”₯
  • dpp_id β€” the DPP input feeding into this MPCC πŸ’–
  • mpcc_bot β€” pointer to the bottom layer MPCC. it's NULL when not connected β€” so if you see NULL, nobody's home, no cap πŸ™ˆ
  • blnd_cfg β€” the blending configuration for this MPCC. a whole struct mpcc_blnd_cfg, iconic ✨
  • sm_cfg β€” the stereo mix setting for this MPCC. a struct mpcc_sm_cfg, slay πŸ’…
  • shared_bottom β€” true if the MPCC output goes to both OPP and DWB endpoints. otherwise false. that's it, that's the rule ⭐

πŸ¦‹ Description πŸ¦‹

so basically this struct is used as a node in an MPC tree. main character node energy, honestly πŸ‘‘πŸŒ³


πŸ” SEE ALSO πŸ”

  • Kernel file ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h overview(9)
  • enum mpcc_alpha_blend_mode(9)
  • struct mpcc_blnd_cfg(9)
  • struct mpc_tree(9)
  • struct mpc_funcs(9)

go read them, iykyk πŸ“šβœ¨


lowkey reminder: this lives under ./drivers/gpu/drm/amd/display/... in the kernel tree if you're out here grepping πŸ’€

and that's the page!! written October 2026 for the Kernel API Manual version of struct mpcc(9) β€” mwah, go forth and configure your MPCCs responsibly bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from