smu_set_use...dependencies(9)
π smu_set_user_clk_dependencies π
okay so this is a page from the Kernel API Manual β yes, the actual kernel docs, and yes, we're gonna make it cute. it's a (9) section page, which is the fancy section for kernel internals, iykyk π§
β¨ NAME β¨
smu_set_user_clk_dependencies β bestie, this one sets the user profile clock dependencies π
πΈ SYNOPSIS πΈ
void smu_set_user_clk_dependencies (struct smu_context *smu , enum
smu_clk_type clk );
that's it, that's the whole signature. void return, no drama, no notes π₯
π ARGUMENTS π
smuβ asmu_contextpointer π«Ά literally just the smu context, hand it over.clkβ anenum smu_clk_typetype β this is the clock type you're doing the thing to.
π¦ DESCRIPTION π¦
the whole vibe: it enables/disables the clock dependency for the clk type β¨
that's the entire job. toggle. on or off. slay π honestly a very chill function β no cap, that's all it does.
π SEE ALSO π
the kernel file where the magic lives, plus the whole friend group π
- Kernel file
./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c smu_dpm_set_power_gate(9)smu_restore_dpm_user_profile(9)smu_alloc_memory_pool(9)smu_wbrf_handle_exclusion_ranges(9)smu_wbrf_event_handler(9)smu_wbrf_delayed_work_handler(9)smu_wbrf_support_check(9)smu_wbrf_init(9)smu_wbrf_fini(9)smu_get_ppt_limit(9)smu_reset_sdma_is_supported(9)
like, the whole swsmu squad fr fr π«Ά
and that's the page!! shoutout to the source at ./drivers/gpu/drm/amd/pm/swsmu and a very iconic October 2026 date stamp β periodt, we're done here πππ
π¦ 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