summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Chou <rex_chou@compal.corp-partner.google.com>2024-01-10 15:05:44 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-01-18 14:48:49 +0000
commit7f176f2a291a47f7dd5cb269326ca9fcf0f98205 (patch)
treebc2ba6181198a44e2014066c932030e269dfc6b5
parent45be5b3b4e284f6e22cc81b884180f59898a43ed (diff)
mb/google/nissa/var/craaskov: Modify 6W and 15W DPTF parameters
1. Modify 6w/15w DPTF parameters based on b:290705146#comment41. 2. 6W MSR power limit_1 power (Watts) increase to 20. 3. 15W MSR power limit_1 power (Watts) increase to 20. BUG=b:290705146 TEST=emerge-nissa coreboot chromeos-bootimage Thermal team test pass. Change-Id: I15fa4b8f7c7088ff56da6493659ae45572913b5a Signed-off-by: Rex Chou <rex_chou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79890 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/mainboard/google/brya/variants/craaskov/overridetree.cb62
1 files changed, 50 insertions, 12 deletions
diff --git a/src/mainboard/google/brya/variants/craaskov/overridetree.cb b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
index d8d2efb3e4..263c4c26fb 100644
--- a/src/mainboard/google/brya/variants/craaskov/overridetree.cb
+++ b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
@@ -98,6 +98,18 @@ chip soc/intel/alderlake
register "tcc_offset" = "8"
+ register "power_limits_config[ADL_N_041_6W_CORE]" = "{
+ .tdp_pl1_override = 20,
+ .tdp_pl2_override = 25,
+ .tdp_pl4 = 78,
+ }"
+
+ register "power_limits_config[ADL_N_081_15W_CORE]" = "{
+ .tdp_pl1_override = 20,
+ .tdp_pl2_override = 35,
+ .tdp_pl4 = 83,
+ }"
+
device domain 0 on
device ref dtt on
chip drivers/intel/dptf
@@ -111,13 +123,25 @@ chip soc/intel/alderlake
[0] = {
.target = DPTF_CPU,
.thresholds = {
- TEMP_PCT(0, 0),
- TEMP_PCT(35, 27),
- TEMP_PCT(38, 31),
- TEMP_PCT(39, 35),
- TEMP_PCT(42, 41),
- TEMP_PCT(60, 47),
TEMP_PCT(70, 100),
+ TEMP_PCT(60, 65),
+ TEMP_PCT(42, 60),
+ TEMP_PCT(39, 55),
+ TEMP_PCT(38, 50),
+ TEMP_PCT(35, 43),
+ TEMP_PCT(31, 30),
+ }
+ },
+ [1] = {
+ .target = DPTF_TEMP_SENSOR_0,
+ .thresholds = {
+ TEMP_PCT(60, 100),
+ TEMP_PCT(55, 65),
+ TEMP_PCT(52, 60),
+ TEMP_PCT(50, 55),
+ TEMP_PCT(48, 50),
+ TEMP_PCT(45, 43),
+ TEMP_PCT(41, 30),
}
}
}"
@@ -162,6 +186,7 @@ chip soc/intel/alderlake
[2] = { 16, 1000 },
[3] = { 8, 500 }
}"
+
device generic 0 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_6W
end
@@ -177,13 +202,25 @@ chip soc/intel/alderlake
[0] = {
.target = DPTF_CPU,
.thresholds = {
- TEMP_PCT(0, 0),
- TEMP_PCT(35, 27),
- TEMP_PCT(38, 31),
- TEMP_PCT(39, 35),
- TEMP_PCT(42, 41),
- TEMP_PCT(60, 47),
TEMP_PCT(70, 100),
+ TEMP_PCT(60, 65),
+ TEMP_PCT(42, 58),
+ TEMP_PCT(39, 53),
+ TEMP_PCT(38, 47),
+ TEMP_PCT(35, 43),
+ TEMP_PCT(31, 30),
+ }
+ },
+ [1] = {
+ .target = DPTF_TEMP_SENSOR_0,
+ .thresholds = {
+ TEMP_PCT(60, 100),
+ TEMP_PCT(55, 65),
+ TEMP_PCT(52, 58),
+ TEMP_PCT(50, 53),
+ TEMP_PCT(48, 47),
+ TEMP_PCT(45, 43),
+ TEMP_PCT(41, 30),
}
}
}"
@@ -228,6 +265,7 @@ chip soc/intel/alderlake
[2] = { 16, 1000 },
[3] = { 8, 500 }
}"
+
device generic 1 on
probe THERMAL_SOLUTION THERMAL_SOLUTION_15W
end