smu7_enable_...e_controller(9)
π NAME β¨
smu7_enable_smc_voltage_controller β okay bestie, this one is literally just "enable voltage control" π
that's the whole vibe, that's the whole function, and honestly? iconic.
(this page lives in the Kernel API Manual, section 9, in case you were wondering π«Ά)
πΈ SYNOPSIS πΈ
int smu7_enable_smc_voltage_controller (struct pp_hwmgr *hwmgr );
Yep. One argument. One int coming back at you. Not me being obsessed with a function signature that fits in a single breath πβ¨
π¦ ARGUMENTS π¦
hwmgrβ the address of the powerplay hardware manager. like, the actual pointer, bestie, not a copy, not a vibe, the address π that's the whole thing you're handing over.
π RETURN π
always PP_Result_OK
no cap. always. it does not miss, it does not fail, it does not have a bad day β PP_Result_OK every single time π₯ so like, don't go writing error-handling fanfic about this one, she's not giving that π
π§ SEE ALSO π
The kernel file, in all her glory:
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
and the whole friend group:
smu7_get_mc_microcode_version(9)smu7_voltage_control(9)smu7_enable_voltage_control(9)smu7_construct_voltage_tables(9)smu7_program_static_screen_threshold_parameters(9)smu7_enable_display_gap(9)smu7_program_voting_clients(9)smu7_initial_switch_from_arbf0_to_f1(9)smu7_get_evv_voltages(9)smu7_patch_ppt_v1_with_vdd_leakage(9)smu7_patch_lookup_table_with_leakage(9)smu7_patch_ppt_v0_with_vdd_leakage(9)smu7_program_display_gap(9)smu7_set_max_fan_rpm_output(9)smu7_get_memory_type(9)smu7_enable_acpi_power_management(9)smu7_init_power_gate_state(9)
ngl bestie, if you're deep in the powerplay hwmgr files you're already main character energy π go read the friends, they're all right there π
okay that's the page!! mwah π«Ά source is ./drivers/gpu/drm/amd/pm/power... (yes it's truncated like that, don't come for me π), dated October 2026, and the page name is smu7_enable_...e_controller(9) β slay, see you in the next one ππ
π¦ 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