dcn32_helper...m_dlg_params(9)
β¨ dcn32_helper_populate_phantom_dlg_params β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil function with a big name and honestly? she's kind of a diva about scheduling. let's get into it π«Ά
πΈ NAME πΈ
dcn32_helper_populate_phantom_dlg_params β literally the girl who goes and gets the DLG params for the phantom pipes</> and then populates pipe_ctx with them. no cap, that's the whole job π
π¦ SYNOPSIS π¦
void dcn32_helper_populate_phantom_dlg_params (struct dc *dc , struct
dc_state *context , display_e2e_pipe_params_st *pipes , int pipe_cnt );
she takes four things and returns void (so she gives you vibes, not a return value, periodt β¨)
π ARGUMENTS π
dc[in]β the current dc state. like, right now. present tense. the main character πcontext[in]β the new dc state. the glow-up version, iykyk π¦pipes[in]β the DML pipe params array. it's giving very much "the data" πpipe_cnt[in]β the DML pipe count, anint. she counts. she slays. π’
π DESCRIPTION π
okay so this is the important part, listen up π
This function must be called AFTER the phantom pipes are added to context and run through DML β like, that's the whole point, so that the DLG params for the phantom pipes can actually be populated π
And it must be called BEFORE we program the timing for the phantom pipes. not after. before. fr fr, the order matters, this is not a drill π
β οΈ bestie, do NOT get the ordering twisted. AFTER the pipes are added + through DML, BEFORE the timing gets programmed. that's the vibe check and she will fail you if you skip it π
π SEE ALSO π
the squad, the friend group, the whole kernel file they all live in:
./drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
and the besties themselves π₯
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_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)
π«Ά that's the page!! she comes from ./drivers/gpu/drm/amd/display/... and she's stamped October 2026 β so yeah, she's from the future, iconic behavior honestly. study her, love her, call the functions in the right order, and you're gonna ate π
β¨π
π¦ 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