vega10_patch...with_leakage(9)
β¨ vega10_patch...with_leakage(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a little vega10 helper and honestly it's giving "tiny function, big job" energy. let's get into it π«Ά
πΈ NAME πΈ
vega10_patch_lookup_table_with_leakage β patches up the voltage lookup table using the EVV leakages π
no cap, that's the whole vibe.
π¦ SYNOPSIS π¦
int vega10_patch_lookup_table_with_leakage (struct pp_hwmgr *hwmgr ,
phm_ppt_v1_voltage_lookup_table *lookup_table , struct
vega10_leakage_voltage *leakage_table );
like, three pointers walk into a functionβ¦ and it returns an int π
π ARGUMENTS π
hwmgrβ the address of the powerplay hardware manager. yes bestie, the manager, main character energy fr πlookup_tableβ pointer to voltage lookup table β this is the table getting patchedleakage_tableβ pointer to leakage table π this one's bringing the leakage tea
π RETURN π
always 0. literally always. every single time. it's consistent, it's iconic, it never misses πβ¨
π₯ SEE ALSO π₯
the kernel file lives here, iykyk:
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c
and here's the whole friend group, go say hi π«Ά
vega10_get_evv_voltages(9)vega10_patch_with_vdd_leakage(9)vega10_trim_voltage_table(9)vega10_construct_voltage_tables(9)vega10_populate_single_gfx_level(9)vega10_populate_single_soc_level(9)vega10_populate_all_graphic_levels(9)vega10_populate_all_memory_levels(9)vega10_init_smc_table(9)vega10_start_dpm(9)
ok that's the page!! no notes, she ate π
and finally, the cute little sign-off from the bottom of the original: this one's sourced from ./drivers/gpu/drm/amd/pm/power..., dated October 2026 π slay, go patch some tables bestie π¦π
π¦ 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