subvp_drr_schedulable(9)
β¨ NAME β¨
okay so welcome to subvp_drr_schedulable(9) from the Kernel API Manual π β this function is literally here to determine if a SubVP + DRR config is schedulable. no cap, that's the whole main-character job.
πΈ SYNOPSIS πΈ
here's the signature, exactly as it appears, bestie:
bool subvp_drr_schedulable (struct dc *dc , struct dc_state *context );
π ARGUMENTS π
dcβ current dc statecontextβ new dc state
π DESCRIPTION π
the high level algorithm is giving step-by-step, and yes we're keeping every bit:
- Get timing for SubVP pipe, phantom pipe, and DRR pipe.
- Determine the frame time for the DRR display when adding required margin for MCLK switching (the margin is equal to the MALL region + DRR margin (
500us)). - If
(SubVP Active - Prefetch > Stretched DRR frame + max(MALL region, Stretched DRR frame))then report the configuration as supported.
π RETURN π
returns True if the SubVP + DRR config is schedulable, and false otherwise β¨ periodt.
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
the whole SEE ALSO friend group, iykyk:
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_subvp_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)
mwah π β footer source/version is ./drivers/gpu/drm/amd/display/..., the date is October 2026, and this whole icon is subvp_drr_schedulable(9) π«Ά
π¦ 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