dcn60_build..._with_action(9)
π dcn60_build_bandwidth_clocks_block_sequence_with_action β from the Kernel API Manual, section 9, bestie π
okay so like, this is a page straight out of the Kernel API Manual (that's the manual name, not me being dramatic β well, partly) and it's about a function with the LONGEST name ever π. Say it with me: dcn60_build_bandwidth_clocks_block_sequence_with_action. Iconic. No notes.
β¨ NAME β¨
dcn60_build_bandwidth_clocks_block_sequence_with_action β build the SMU message sequence from the action struct, and like... without mutating clk_mgr state. She's read-only, she's respectful, she does NOT touch your clock manager. periodt π
πΈ SYNOPSIS πΈ
unsigned int dcn60_build_bandwidth_clocks_block_sequence_with_action
(struct dcn60_clk_mgr_block_sequence *block_sequence , struct
dcn60_bandwidth_clocks_update_action *action , struct clk_mgr
*clk_mgr_base , struct dc_clocks *new_clocks );
yes the whole thing. she's long. she's beautiful. she's giving main character energy π
π¦ ARGUMENTS π¦
block_sequenceβ the output array of block sequence steps π«Ά like this is where the steps go, bestie.actionβ the action struct, and ngl it's supposed to be populated bydcn60_make_bandwidth_clocks_update_action. Someone else did the prep work, we're just building here.clk_mgr_baseβ the current clock manager state. It's read-only, okay?? Used for the original values. We look, we don't touch πβ¨new_clocksβ the requested clock values, aka what goes into the message parameters. Slay.
β RETURN β
the number of steps written to block_sequence β that's it, that's the return value π
π§ SEE ALSO π§
- the Kernel file
./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/dcn60_clk_mgr.cβ go read the source, iykyk π dcn60_populate_dc_mode_limit(9)dcn60_populate_clk_table(9)dcn60_make_bandwidth_clocks_update_action(9)dcn60_update_bandwidth_clocks_state_with_action(9)dcn60_build_update_bandwidth_clocks_sequence(9)
these are the friends in her group chat, fr fr π
okay little reminder for the people in the back: clk_mgr_base is read-only in this function. Like, the whole point is not mutating clk_mgr state. do NOT come for her and try to write to it π
and that's the page!! πΈ sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026, and honestly she served. mwah π π
π¦ 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