vega10_patch...with_leakage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 patched
  • leakage_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 🫢


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