2 comments:
File src/mainboard/google/volteer/variants/volteer2/overridetree.cb:
[3] = {.target = DPTF_TEMP_SENSOR_2,
.thresholds = {TEMP_PCT(53, 90),
TEMP_PCT(50, 69),
TEMP_PCT(48, 56),
TEMP_PCT(45, 46),
TEMP_PCT(42, 36),}},
[4] = {.target = DPTF_TEMP_SENSOR_3,
.thresholds = {TEMP_PCT(53, 90),
TEMP_PCT(50, 69),
TEMP_PCT(48, 56),
TEMP_PCT(45, 46),
TEMP_PCT(42, 36),}}}"
Are you trying to "override" array indexes 3 and 4 here? Because this won't work. If you want to override anything in `policies.active` (or others below), you have to provide the whole thing. If you meant to use only these 2 active policies, then they need to be at array indexes 0 and 1.
## Critical Policy
register "policies.critical" = "{
[0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
[1] = DPTF_CRITICAL(TEMP_SENSOR_0, 75, SHUTDOWN),
[2] = DPTF_CRITICAL(TEMP_SENSOR_1, 75, SHUTDOWN),
[3] = DPTF_CRITICAL(TEMP_SENSOR_2, 75, SHUTDOWN),
[4] = DPTF_CRITICAL(TEMP_SENSOR_3, 75, SHUTDOWN)}"
## Power Limits Control
# 10-15W PL1 in 200mW increments, avg over 28-32s interval
# PL2 is fixed at 64W, avg over 28-32s interval
register "controls.power_limits" = "{
.pl1 = {.min_power = 3000,
.max_power = 15000,
.time_window_min = 28 * MSECS_PER_SEC,
.time_window_max = 32 * MSECS_PER_SEC,
.granularity = 200,},
.pl2 = {.min_power = 15000,
.max_power = 60000,
.time_window_min = 28 * MSECS_PER_SEC,
.time_window_max = 32 * MSECS_PER_SEC,
.granularity = 1000,}}"
## Charger Performance Control (Control, mA)
register "controls.charger_perf" = "{
[0] = { 255, 1700 },
[1] = { 24, 1500 },
[2] = { 16, 1000 },
[3] = { 8, 500 }}"
## Fan Performance Control (Percent, Speed, Noise, Power)
register "controls.fan_perf" = "{
[0] = { 90, 6700, 220, 2200, },
[1] = { 80, 5800, 180, 1800, },
[2] = { 70, 5000, 145, 1450, },
[3] = { 60, 4900, 115, 1150, },
[4] = { 50, 3838, 90, 900, },
[5] = { 40, 2904, 55, 550, },
[6] = { 30, 2337, 30, 300, },
[7] = { 20, 1608, 15, 150, },
[8] = { 10, 800, 10, 100, },
[9] = { 0, 0, 0, 50, }}"
# Fan options
register "options.fan.fine_grained_control" = "1"
register "options.fan.step_size" = "2"
This whole section looks the same as the baseboard; if that is your intention, you can leave it out and it will pick up the baseboard settings.
To view, visit change 46087. To unsubscribe, or for help writing mail filters, visit settings.