dcn32_enough...es_for_subvp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dcn32_enough_pipes_for_subvp β€” Kernel API Manual ✨

okay so bestie, welcome to the kernel API manual for dcn32_enough_pipes_for_subvp(9) β€” yes that's the whole name, yes it's a mouthful, no we're not shortening it, it's iconic as is πŸŽ€


🌸 NAME 🌸

dcn32_enough_pipes_for_subvp β€” the function whose entire job is checking if there are, quote unquote, "enough" pipes for SubVP. That's it. That's the gig. Lowkey simple, highkey important πŸ’–


✨ SYNOPSIS ✨

bool dcn32_enough_pipes_for_subvp (struct dc *dc , struct dc_state
*context );

she returns a bool, she takes two pointers, she minds her own business πŸ¦‹


🫢 ARGUMENTS 🫢

  • dc β€” the current dc state. what we've got going on right now, no cap.
  • context β€” the new dc state. the future we're all manifesting ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so the vibe check here is: this function returns true if there are enough free pipes to create the required phantom pipes for any given stream β€” and to be clear, that's any stream that does not already have a phantom pipe assigned. not me being picky, that's literally the spec πŸ’…

e.g. picture a 2 stream config where the first stream uses one pipe and the second stream uses 2 pipes (i.e. pipe split) β€” in that case this function will return true, because there is 1 remaining pipe which can be used as the phantom pipe for the non pipe split pipe. literally math, bestie, and she ate πŸ”₯


⭐ RETURN ⭐

true if there are enough free pipes to assign phantom pipes to at least one stream that does not already have phantom pipes assigned. otherwise false πŸ’€ (no phantom pipe for you, sorry babe)


🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” first up the kernel file ./drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c, then:

like I said β€” the whole squad πŸ§šπŸ’œ


ngl if you're here at 3am debugging pipe allocation, you're doing amazing, drink some water πŸ“

and that's a wrap bestie!! this page lives at ./drivers/gpu/drm/amd/display/... and it's dated October 2026, manual name dcn32_enough...es_for_subvp(9) β€” short and sweet, just like her πŸ˜­πŸ’– periodt ✨

πŸ“¦ where this page comes from