ENUM MPCC_ALPHA_BLEND_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mpcc_alpha_blend_mode(9) β€” a Kernel API Manual moment, section 9 bestie

okay so this is a page from the Kernel API Manual, and it's literally just a lil enum that decides how alpha blending treats pixel alpha versus plane alpha. lowkey iconic, highkey essential if you're doing display hardware stuff. let's get into it 🫢


✨ NAME ✨

enum mpcc_alpha_blend_mode β€” it defines the alpha blend mode regarding pixel alpha and plane alpha values. that's the whole vibe. nothing more, nothing less πŸ’–


🌸 SYNOPSIS 🌸

here's the whole shape of it, no cap:

enum mpcc_alpha_blend_mode {
    MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA ,
    MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN ,
    MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA

};

three constants, all main character energy, all listed below πŸ‘‘

πŸŽ€ Constants πŸŽ€

  • MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA β€” per pixel alpha, using the DPP alpha value. simple, clean, slay ✨
  • MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA_COMBINED_GLOBAL_GAIN β€” per pixel alpha, but the DPP alpha value gets multiplied by a global gain (which is the plane alpha). it's giving "per pixel but make it collaborative" πŸ’«
  • MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA β€” global alpha value only. it literally ignores pixel alpha and considers only plane alpha. not me being dismissive of pixel alpha... it's just the mode's whole thing πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're all connected iykyk:

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

fr fr, this page lives at ./drivers/gpu/drm/amd/display/... and it's dated October 2026, brought to you by the section 9 girlies. go off, alpha blend mode, periodt πŸ’œπŸŒ·
πŸ“¦ where this page comes from