dcn32_enough...es_for_subvp(9)
π 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:
dcn32_helper_populate_phantom_dlg_params(9)dcn32_set_phantom_stream_timing(9)dcn32_get_num_free_pipes(9)dcn32_assign_subvp_pipe(9)subvp_subvp_schedulable(9)subvp_drr_schedulable(9)subvp_vblank_schedulable(9)subvp_subvp_admissable(9)subvp_validate_static_schedulability(9)dcn32_allow_subvp_high_refresh_rate(9)dcn32_determine_max_vratio_prefetch(9)dcn32_assign_fpo_vactive_candidate(9)dcn32_find_vactive_pipe(9)
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
- 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