mb/google/fatcat: Add support for new Panther Lake IDs
This commit introduces support for additional Intel Panther Lake CPU IDs in the `power_optimized_limits` structure, enhancing compatibility with newer hardware. It also introduces macros for common power limit values, streamlining the code and reducing repetition. Change-Id: I6d7c24441ce6ed78c366f18627c237a2f4984cd5 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88131 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
57bffed893
commit
abbf549558
1 changed files with 50 additions and 30 deletions
|
|
@ -7,66 +7,86 @@
|
|||
* SKU_ID, TDP (Watts), pl1_min (milliWatts), pl1_max (milliWatts),
|
||||
* pl2_min (milliWatts), pl2_max (milliWatts), pl4 (milliWatts)
|
||||
*/
|
||||
/* Define a macro for the common power limit values for PTL_H */
|
||||
#define COMMON_PTL_H_POWER_LIMITS \
|
||||
.pl1_min_power = 10000, \
|
||||
.pl1_max_power = 25000, \
|
||||
.pl2_min_power = 50000, \
|
||||
.pl2_max_power = 50000, \
|
||||
.pl4_power = 65000
|
||||
/* Define a macro for the common power limit values for PTL_U */
|
||||
#define COMMON_PTL_U_POWER_LIMITS \
|
||||
.pl1_min_power = 10000, \
|
||||
.pl1_max_power = 15000, \
|
||||
.pl2_min_power = 50000, \
|
||||
.pl2_max_power = 50000, \
|
||||
.pl4_power = 65000
|
||||
const struct cpu_tdp_power_limits power_optimized_limits[] = {
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_1,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_1_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_2,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_1_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_3,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_4,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_5,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_6,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_7,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_8,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
COMMON_PTL_H_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_U_ID_1,
|
||||
.cpu_tdp = TDP_15W,
|
||||
.power_limits_index = PTL_U_1_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 15000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_U_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_U_ID_2,
|
||||
.cpu_tdp = TDP_15W,
|
||||
.power_limits_index = PTL_U_2_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 15000,
|
||||
.pl2_min_power = 50000,
|
||||
.pl2_max_power = 50000,
|
||||
.pl4_power = 65000
|
||||
COMMON_PTL_U_POWER_LIMITS
|
||||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_U_ID_3,
|
||||
.cpu_tdp = TDP_15W,
|
||||
.power_limits_index = PTL_U_2_CORE,
|
||||
COMMON_PTL_U_POWER_LIMITS
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue