dcn60_make_...pdate_action(9)
π dcn60_make_bandwidth_clocks_update_action β a Kernel API Manual moment (section 9, bestie)
okay so this is from the Kernel API Manual, section 9, and the whole function name literally got squished into dcn60_make_...pdate_action up top because manpage headers are dramatic like that. anyway. let's get into it π«Ά
β¨ NAME β¨
dcn60_make_bandwidth_clocks_update_action β figure out which clock and p-state updates are actually needed, by comparing new_clocks against the current clk_mgr state. it's giving "diff but for clocks" π
π¦ SYNOPSIS π¦
void dcn60_make_bandwidth_clocks_update_action (struct
dcn60_bandwidth_clocks_update_action *action , struct clk_mgr
*clk_mgr_base , struct dc_state *context , struct dc_clocks *new_clocks
, bool safe_to_lower );
no return value, she just fills in your action struct and dips β¨
π ARGUMENTS π
actionβ the output action struct. it comes in zeroed, and this function is the one that populates it. so like, this is the whole point of the call tbh πclk_mgr_baseβ the current clock manager state. read-only, hands off, look but don't touch πcontextβ the dc state, with all the active plane information in it ποΈnew_clocksβ the requested clock values, i.e. what we're comparing against the current state. the "new" in question πsafe_to_lowerβ aboolthat says whether clocks are allowed to decrease. if this says no, bestie, they do not go down π
π SEE ALSO π
- the kernel file itself:
./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/dcn60_clk_mgr.cπ dcn60_populate_dc_mode_limit(9)dcn60_populate_clk_table(9)dcn60_build_bandwidth_clocks_block_sequence_with_action(9)dcn60_update_bandwidth_clocks_state_with_action(9)dcn60_build_update_bandwidth_clocks_sequence(9)
all the siblings, all iconic, go read them too fr fr π
ngl the whole vibe here is: compare new vs current, decide what has to change, write it into action, done. no cap, that's the entire arc πΈ
and that's the page!! source path is ./drivers/gpu/drm/amd/display/..., dated October 2026, filed under the Kernel API Manual β mwah, stan, bye πππ§
π¦ 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