kevinlekiller / amdctl

Set P-State voltages and clock speeds on recent AMD CPUs on Linux.
GNU General Public License v3.0
243 stars 22 forks source link

`-n` option #56

Closed sidorsett closed 6 months ago

sidorsett commented 1 year ago

Hi,

I would like to create a pull request for setting NBP0/NBP1 VID on 14h family, but I don't quite understand what the current -n options is intended to do.

Is option -n is in use or is just a historical artifact?

I use amdctl in the following way to set VID for P states:

and would think of a similar syntax for NBP0 states:

Do you have any proposal on command options to use so that to define VIDs for NBP0 and NBP1 states?

Cheers!

AYuusuke commented 8 months ago

Hi @sidorsett

I had similar doubts while implementing NB P-State/Voltage handling. Current approach:

-n    Set north bridge voltage id (vid) for next NB P-State transition.
-b    Set north bridge P-State (NbPst).

Usage examples:

Source code is here https://github.com/AYuusuke/amdctl/tree/dev/opt-n-b Backward compatible with existing -n use cases on 10h/11h. Does this info help you in your journey?