vega10_patc..._vdd_leakage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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