dcn32_helper...m_dlg_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, an int. 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 πŸ”₯


🫢 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