From 3404625bcc5cfed13e2551df53b3e09bb7ec0a19 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Kollasch" Date: Wed, 15 Jul 2015 14:34:17 -0500 Subject: 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 Reviewed-on: http://review.coreboot.org/10926 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Paul Menzel Reviewed-by: Timothy Pearson --- src/cpu/amd/model_fxx/powernow_acpi.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}, -- cgit v1.2.3