smu7_patch_l...with_leakage(9)
π smu7_patch_lookup_table_with_leakage β Kernel API Manual β¨
okay so bestie, welcome to the smu7_patch_l...with_leakage(9) page π
this is a little kernel API number and honestly it's giving "quietly doing important voltage math" energy. let's get into it π«Ά
πΈ NAME πΈ
smu7_patch_lookup_table_with_leakage β patches a voltage lookup table using EVV leakages. no cap, that's the whole vibe β¨
π¦ SYNOPSIS π¦
int smu7_patch_lookup_table_with_leakage (struct pp_hwmgr *hwmgr ,
phm_ppt_v1_voltage_lookup_table *lookup_table , struct
smu7_leakage_voltage *leakage_table );
π ARGUMENTS π
hwmgrβ the address of the powerplay hardware manager π this is the main character, the manager of all things powerplay hardware.lookup_tableβ pointer to the voltage lookup table π (yes, it's the table that's about to get patched, iykyk).leakage_tableβ pointer to the leakage table π the source of those EVV leakage values.
β RETURN β
literally always 0. that's it. that's the return value. iconic behaviour honestly πβ¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.cπ 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_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)
like... that's a whole friend group of smu7 functions and they all ate π π
β¨ sign-off time β¨
this page lives in ./drivers/gpu/drm/amd/pm/power... and it's dated October 2026, tagged smu7_patch_l...with_leakage(9) at the bottom β so if anyone asks where you got your voltage-table-patching lore, you tell them exactly that, bestie π§π periodt.
π¦ 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