dcn60_build..._with_action(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 by dcn60_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 🧚

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