subvp_subvp_schedulable(9)
π subvp_subvp_schedulable β a Kernel API Manual moment (section 9, bestie)
okay so picture this: it's a (9) manpage, it's called subvp_subvp_schedulable, and it's here to answer exactly one question β is this SubVP + SubVP config actually schedulable or not? that's the whole vibe. β¨
π NAME π
subvp_subvp_schedulable β determine if a SubVP + SubVP config is schedulable (yes that's literally the job, no cap)
π¦ SYNOPSIS π¦
bool subvp_subvp_schedulable (struct dc *dc , struct dc_state *context );
it returns a bool, it takes two args, and it's giving "small function, big responsibility." π«Ά
πΈ ARGUMENTS πΈ
dcβ the current dc state, aka the lore we already have πcontextβ the new dc state, aka the plot twist we're tryna schedule for π¦
π₯ DESCRIPTION π₯
here's the high level algorithm, and honestly? it ate:
- Find the longest microschedule length (in us) between the two SubVP pipes. longest one wins, that's the main character of this whole check π
- Check if the worst case overlap (VBLANK in middle of ACTIVE) for both pipes still allows for the maximum microschedule to fit in the active region for both pipes. yes, both pipes. it's an AND situation, not an OR situation, and that's on periodt π
ngl step 2 is the vibe check of the whole function β worst case overlap is VBLANK sitting right in the middle of ACTIVE, and if the maximum microschedule still fits in the active region for both pipes, we're so back. if not... yeah π
β RETURN β
Trueif the SubVP + SubVP config is schedulable πfalseotherwise π
literally that simple, iykyk.
π SEE ALSO π
the whole friend group, fr fr β kernel file ./drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c:
dcn32_helper_populate_phantom_dlg_params(9)dcn32_set_phantom_stream_timing(9)dcn32_get_num_free_pipes(9)dcn32_assign_subvp_pipe(9)dcn32_enough_pipes_for_subvp(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)
okay that's the whole page bestie, mwah π this icon was brought to you by ./drivers/gpu/drm/amd/display/... and it's stamped October 2026 β go forth and schedule some subviews π§π
π¦ 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