From 061ef01509db668527a1006360041809a4d95ed0 Mon Sep 17 00:00:00 2001 From: sidorsett <49516540+sidorsett@users.noreply.github.com> Date: Sun, 13 Nov 2022 18:43:54 +0100 Subject: [PATCH 1/2] Update amdctl.c Display NB VIDs for AMD14H --- amdctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amdctl.c b/amdctl.c index 249469f..1470e74 100644 --- a/amdctl.c +++ b/amdctl.c @@ -659,6 +659,7 @@ void printNbStates() { } switch (cpuFamily) { case AMD12H: + case AMD14H: case AMD15H: case AMD16H: break; @@ -670,6 +671,7 @@ void printNbStates() { printf("Northbridge:\n"); switch (cpuFamily) { case AMD12H: + case AMD14H: //Pstate 0 = D18F3xDC rwPciReg("18.3", 0xdc, 1); nbvid = getDec("18:12"); From 274119c9b79060b46058f6ef85b9b54a6eaa4a8c Mon Sep 17 00:00:00 2001 From: sidorsett <49516540+sidorsett@users.noreply.github.com> Date: Sun, 13 Nov 2022 18:48:39 +0100 Subject: [PATCH 2/2] Update amdctl.c Correction: AMD14H has 12.5 mA (VID_DIVIDOR2) divider/multiplier --- amdctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/amdctl.c b/amdctl.c index 1470e74..27b8a45 100644 --- a/amdctl.c +++ b/amdctl.c @@ -873,8 +873,7 @@ unsigned short vidTomV(const unsigned short vid) { } // https://github.com/mpollice/AmdMsrTweaker/blob/master/Info.cpp#L47 - if (cpuFamily == AMD14H || - (cpuFamily == AMD15H && ((cpuModel > 0x0f && cpuModel < 0x20) || (cpuModel > 0x2f && cpuModel < 0x40))) || + if ((cpuFamily == AMD15H && ((cpuModel > 0x0f && cpuModel < 0x20) || (cpuModel > 0x2f && cpuModel < 0x40))) || cpuFamily == AMD17H || cpuFamily == AMD19H) { return (MAX_VOLTAGE - (vid * VID_DIVIDOR3));