Skip to content

Commit

Permalink
Some 16h CPU's have double the refclk speed #14
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
kevinlekiller committed Aug 29, 2021
1 parent 0e37455 commit a6cc7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amdctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void northBridge(const int nvid) {
nbpstate,
nbvid,
vidTomV(nbvid),
(REFCLK * (nbdid + 0x4) / pow(2, nbfid))
(((cpuModel >= 0x00 && cpuModel <= 0x0f) ? REFCLK * 2 : REFCLK) * (nbdid + 0x4) / pow(2, nbfid))
);
}
break;
Expand Down

0 comments on commit a6cc7b8

Please sign in to comment.