smu7_patch_l...with_leakage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯

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