dcn60_build_...cks_sequence(9)
π dcn60_build_update_bandwidth_clocks_sequence(9) β Kernel API Manual, but make it a vibe
okay so bestie, we're in the Kernel API Manual today and the page we're lookin at is dcn60_build_...cks_sequence(9) (yes the header truncates it like that, that's just how she abbreviates, don't come for her β¨). The full government name is dcn60_build_update_bandwidth_clocks_sequence, and it is literally the function that builds the block sequence for bandwidth clock updates and applies the new clock values to the clk_mgr state. Two jobs, zero complaints, main character energy fr fr π«Ά
β¨ NAME β¨
dcn60_build_update_bandwidth_clocks_sequence β Build block sequence for bandwidth clock updates and apply new clock values to clk_mgr state.
Like, she's the one who writes the to-do list for the clock changes and then actually does the clock changes. Obsessed with a multitasker π
πΈ SYNOPSIS πΈ
unsigned int dcn60_build_update_bandwidth_clocks_sequence (struct clk_mgr *clk_mgr_base , struct dc_state *context , struct dc_clocks *new_clocks , bool safe_to_lower );
Four args, returns an unsigned int, no cap. Copy it exactly like that if you're typing it out, don't get creative with the spacing bestie, it's printed that way on purpose π
π¦ ARGUMENTS π¦
clk_mgr_baseβ the clock manager you're updating. That's the girl whose state we're about to touch. Handle with care πcontextβ the dc state with the active plane information. Think of it as the current ~situation~ on screen: which planes are live and doing their thing β¨new_clocksβ the requested clock values straight out of the bandwidth calculation. Not what's happening now β what we want to happen. Manifesting, basically πsafe_to_lowerβ aboolsaying whether clocks are allowed to go down. Yes, down. Lowering. Decreasing. If this is false, do not let those clocks dip, okay?? This is the vibe check for clock decreases π
β RETURN β
Returns the number of block sequence steps to execute β an unsigned int. That's it, that's the number, that's how many steps the block sequence is gonna have. Counting is a love language π§
π SEE ALSO π
Kernel file:
./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/dcn60_clk_mgr.c
And her besties, the whole group chat of related functions:
dcn60_populate_dc_mode_limit(9)dcn60_populate_clk_table(9)dcn60_make_bandwidth_clocks_update_action(9)dcn60_build_bandwidth_clocks_block_sequence_with_action(9)dcn60_update_bandwidth_clocks_state_with_action(9)
iykyk, go read them if you wanna know the whole lore π₯
heads up bestie: this page comes from./drivers/gpu/drm/amd/display/...dated October 2026, and the footer's short name for her isdcn60_build_...cks_sequence(9)β truncated, but iconic π
kay that's the whole page, mwah, go build some clock sequences responsibly, slay ππβ¨
π¦ 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