STRUCT MPCC_BLND_CFG(9)
π struct mpcc_blnd_cfg(9) π
okay so bestie, welcome to the Kernel API Manual β¨ we're about to get into struct mpcc_blnd_cfg and honestly? it's giving "blending configuration" main character energy π
this is the struct that holds all your MPCC blending vibes, no cap.
πΈ NAME πΈ
struct mpcc_blnd_cfg β MPCC blending configuration π«Ά
β¨ SYNOPSIS β¨
struct mpcc_blnd_cfg {
struct tg_color black_color;
enum mpcc_alpha_blend_mode alpha_mode;
bool pre_multiplied_alpha;
int global_gain;
int global_alpha;
bool overlap_only;
int bottom_gain_mode;
int background_color_bpc;
int top_gain;
int bottom_inside_gain;
int bottom_outside_gain;
};
like, that's the whole shape of it, copy it exactly please π
π Members π
black_colorβ background color. literally the background color, that's the whole job π€alpha_modeβ the alpha blend mode. it's anMPCC_ALPHA_BLND_MODE, iykyk.pre_multiplied_alphaβ whether the pixel color values were pre-multiplied by the alpha channel, as anMPCC_ALPHA_MULTIPLIED_MODE. so like, were they already multiplied or not, bestie πglobal_gainβ used when the blend mode considers both pixel alpha and plane. both, not one, both πglobal_alphaβ the plane alpha value. plane alpha. that's it, that's the whole vibe β¨overlap_onlyβ whether overlapping of different planes is allowed. yes/no situation π¦bottom_gain_modeβ the blend mode for the bottom gain setting πΈbackground_color_bpcβ the background color for bpc πtop_gainβ top gain setting, slay βbottom_inside_gainβ blend mode for bottom inside πbottom_outside_gainβ blend mode for bottom outside π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.hoverview(9) enum mpcc_alpha_blend_mode(9)struct mpcc(9)struct mpc_tree(9)struct mpc_funcs(9)
like, go read those too, they're all connected fr fr π§
okay that's the whole page bestie, you ate π
this one's filed under ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β so mark your calendar, and remember: struct mpcc_blnd_cfg(9) is iconic, 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