smu7_init_power_gate_state(9)
π smu7_init_power_gate_state(9) π
okay bestie, welcome to the Kernel API Manual, section 9, and today's main character is smu7_init_power_gate_state β literally the glow-up ritual that gets PowerGating States initialized for the different engines. no cap, it's giving "beauty routine but for silicon" β¨
πΈ NAME πΈ
smu7_init_power_gate_state β initialize PowerGating States for different engines π
β¨ SYNOPSIS β¨
int smu7_init_power_gate_state (struct pp_hwmgr *hwmgr );
that's it, that's the whole vibe check. one function, one pointer, zero drama π
π¦ ARGUMENTS π¦
hwmgrβ the address of the powerplay hardware manager. like, the actual address, bestie, not a copy β she's handing over the plug so the hardware manager can get the business π«Ά
β RETURN β
always 0. not "usually", not "sometimes", not "depends on her mood" β always 0. she said success and she meant it, periodt π
lowkey iconic that there's no error path here. if you were bracing for failure, you can unclench π
π SEE ALSO π
first up, the source of truth, the mothership herself:
- Kernel file
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
and then the whole friend group β go say hi, they all live in section 9 together π
smu7_get_mc_microcode_version(9)smu7_enable_smc_voltage_controller(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)
and that's the page, bestie π§ββοΈ mwah π β brought to you by ./drivers/gpu/drm/amd/pm/power... (the source/version, showing off as always), stamped October 2026, and filed under section 9 of smu7_init_power_gate_state(9). see u in the next manpage, love u, 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