dcn60_make_...pdate_action(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a bool that says whether clocks are allowed to decrease. if this says no, bestie, they do not go down πŸ“‰

🌈 SEE ALSO 🌈

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