diff options
author | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2015-07-15 14:34:17 -0500 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2015-10-22 22:41:52 +0200 |
commit | 3404625bcc5cfed13e2551df53b3e09bb7ec0a19 (patch) | |
tree | 68fc685e2185556975b26c3032c1fb5b8b83e8a0 /src/cpu/amd/model_fxx/powernow_acpi.c | |
parent | bf6b83abe06ff53033e7cd74134972de6791cf26 (diff) |
model_fxx/powernow: add dual core Socket F TDPs
Values based on correlation of brand strings, brand numbers and the TDP
listings on AMD's web site (Wikipedia for Athlon 64 FX-7x TDPs).
Change-Id: I7e6d12d0b6cc4fefc3f84076234c62c40e08304c
Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-on: http://review.coreboot.org/10926
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'src/cpu/amd/model_fxx/powernow_acpi.c')
-rw-r--r-- | src/cpu/amd/model_fxx/powernow_acpi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/amd/model_fxx/powernow_acpi.c b/src/cpu/amd/model_fxx/powernow_acpi.c index ac505ee263..1ce746d17a 100644 --- a/src/cpu/amd/model_fxx/powernow_acpi.c +++ b/src/cpu/amd/model_fxx/powernow_acpi.c @@ -106,7 +106,12 @@ static void pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP) u8 index; msr_t msr; u32 fid_multiplier; - static struct power_limit_encoding TDP[20] = { + static const struct power_limit_encoding TDP[] = { + {0x10, 0x1, 0x2, 45}, /* Opteron EE */ + {0x10, 0x1, 0x6, 68}, /* Opteron HE */ + {0x10, 0x1, 0xa, 95}, /* Opteron */ + {0x10, 0x1, 0xc, 119}, /* Opteron SE */ + {0x10, 0x1, 0xe, 125}, /* Athlon 64 FX-7x */ {0x11, 0x0, 0x8, 62}, {0x11, 0x1, 0x8, 89}, {0x11, 0x1, 0xa, 103}, |