STRUCT MPC_COLOR_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mpc_color_caps(9) πŸ’–

okay bestie, buckle up β€” this is a Kernel API Manual page and honestly? it's giving "behind the scenes of your screen's colors" energy. no cap.

🌸 NAME 🌸

struct mpc_color_caps β€” the color pipeline capabilities for multiple pipe and plane combined blocks ✨ (yes, that's a mouthful, we love her anyway)


πŸŽ€ SYNOPSIS πŸŽ€

struct mpc_color_caps {
    uint16_t gamut_remap : 1;
    uint16_t ogam_ram : 1;
    uint16_t ocsc : 1;
    uint16_t num_3dluts : 3;
    uint16_t num_rmcm_3dluts : 3;
    uint16_t shared_3d_lut:1;
    struct rom_curve_caps ogam_rom_caps;
    struct lut3d_caps mcm_3d_lut_caps;
    struct lut3d_caps rmcm_3d_lut_caps;
    bool preblend;
    struct fixed31_32 max_gamut_remap_coeff;
 };

like, look at her. struct full of bitfields. main character energy fr fr πŸ’…


πŸ¦‹ DESCRIPTION (the members) πŸ¦‹

so here's the vibe check on every single field, no skips, no shortcuts πŸ‘‘

  • gamut_remap β€” color transformation matrix. literally the matrix. iconic
  • ogam_ram β€” programmable out gamma LUT 🎨
  • ocsc β€” output color space conversion matrix
  • num_3dluts β€” MPC 3D LUT; always assumes a preceding shaper LUT (do not forget the shaper LUT, bestie, it said always)
  • num_rmcm_3dluts β€” number of RMCM 3D LUTS; also always assumes a preceding shaper LUT 🫢
  • shared_3d_lut β€” shared 3D LUT flag. lowkey important: it can be either DPP or MPC, but only a single instance. one. uno. πŸ’€
  • ogam_rom_caps β€” pre-definied curve caps for regamma 1D LUT (yes, "definied", we're quoting the source, don't come for me πŸ™ˆ)
  • mcm_3d_lut_caps β€” HW support cap for MCM LUT memory 🧠
  • rmcm_3d_lut_caps β€” HW support cap for RMCM LUT memory
  • preblend β€” whether color manager supports preblend with MPC ✨
also in the struct but not in the members list: max_gamut_remap_coeff, a struct fixed31_32. she's there. she's just quiet. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, in order, exactly as listed, don't @ me:


that's the whole page, bestie, you ate that πŸ’…

sign-off time 🫢: this little love letter lives at ./drivers/gpu/drm/amd/display/dc, dated October 2026, and it's part of the Kernel API Manual. go read the source, ily, bye πŸ’–βœ¨

πŸ“¦ where this page comes from