could_mpcc_...active_pipes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ could_mpcc_...active_pipes(9) ✨

okay so bestie, you've stumbled into the Kernel API Manual and landed on could_mpcc_...active_pipes(9) β€” honestly a whole mouthful, but she's iconic and she knows it πŸ’…


πŸŽ€ NAME πŸŽ€

could_mpcc_tree_change_for_active_pipes β€” the vibe check that tells you whether an OPP associated with MPCC might change πŸ‘€


🌸 SYNOPSIS 🌸

bool could_mpcc_tree_change_for_active_pipes (struct dc *dc , struct
dc_stream_state *stream , struct dc_surface_update *srf_updates , int
surface_count , bool *is_plane_addition );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dc β€” used to get the current state status, she's the one holding the receipts πŸ“‹
  • stream β€” the target stream, which we want to remove the attached planes from. yes, that stream bestie βœ‚οΈ
  • srf_updates β€” an array of surface updates, like a little stack of glow-ups 🌈
  • surface_count β€” the number of surface update, one per update, we're counting πŸ“Š
  • is_plane_addition β€” marked [in], and you fill it out with true if it's a plane addition case πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea, bestie 🍡 β€” DCN32x and newer support a feature named Dynamic ODM, and she can conflict with the MPO if the two get used simultaneously in some specific configurations (e.g., 4k144). literally the worst pairing, giving enemies-to-lovers energy but in a bad way 😭

This function checks if the incoming context requires applying a transition state with unnecessary pipe splitting and ODM disabled β€” all so we can circumvent our hardware limitations and prevent this edge case from ruining the whole moment πŸ™ˆ

And if the OPP associated with an MPCC might change due to plane additions? this function returns true. periodt πŸ”₯


⭐ RETURN ⭐

Return true if OPP and MPCC might change. Otherwise? return false. simple as that, slay πŸ’…


🌈 SEE ALSO 🌈

okay this list goes off, stay with me πŸ‘‘

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


and that's the whole page bestie πŸŽ€ big mwah to whoever shipped her from ./drivers/gpu/drm/amd/display/..., dated October 2026 β€” shoutout to the could_mpcc_...active_pipes(9) girlies, we love you, bye πŸ‘‘πŸ’–

πŸ“¦ where this page comes from