kevinlekiller / amdctl

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

Display CPU info even if CPU not supported #35

Closed theonlynexus closed 2 years ago

theonlynexus commented 2 years ago

This patch changes the command behavior so that it always prints the parsed cpuinfo, even if the CPU model is not supported.

E.g. It goes from :

ERROR: Your CPU family is not supported by amdctl.

to:

Voltage ID encodings: SVI (serial)
Detected CPU model 2h, from family 14h with 2 CPU cores (REFCLK = 100MHz).
ERROR: Your CPU family is not supported by amdctl.
theonlynexus commented 2 years ago

Messed up branching, I will close the request and open two more for separate issues.

kevinlekiller commented 2 years ago

Looks good, thanks.