vega10_patc..._vdd_leakage(9)
π vega10_patch_with_vdd_leakage π
okay bestie so this function lives in the Kernel API Manual (section 9, kernel devs only, iykyk) and it does exactly one iconic thing: it takes the virtual leakage voltage and swaps it over to the actual value. that's it. that's the whole vibe. π¦
β¨ NAME β¨
vega10_patch_with_vdd_leakage β change virtual leakage voltage to actual value. no cap, that's literally the job description. π
π SYNOPSIS π
void vega10_patch_with_vdd_leakage (struct pp_hwmgr *hwmgr , uint16_t
*voltage , struct vega10_leakage_voltage *leakage_table );
like, look at her. three params, returns nothing (void, she gives nothing back and that's on purpose π), and she's out here patching voltage. main character energy fr fr.
πΈ ARGUMENTS πΈ
hwmgrβ the address of the powerplay hardware manager. yes bestie, it's a pointer, it's giving "here's where the hardware manager lives" πvoltageβ pointer to changing voltage. she's pointing at the voltage that's about to change, okay, that's her whole thing β‘leakage_tableβ pointer to leakage table. the lookup table. the receipts. the source of truth π
π«Ά SEE ALSO π«Ά
the kernel file in question, plus the whole friend group that shows up to the same party:
- Kernel file:
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c vega10_get_evv_voltages(9)vega10_patch_lookup_table_with_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)
like, that's the whole squad right there. voltage table girlies unite π
that's the page, bestie. go patch those voltages. slay. π β¨
sign-off szn π: this lil page came from ./drivers/gpu/drm/amd/pm/power... and it's dated October 2026, and the same vega10_patc..._vdd_leakage(9) name is waiting for you at the bottom of the page too β she's consistent, we stan π
π¦ 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