acpi/acpigen_dptf: Increase DPTF_MAX_FAN_PERF_STATES to 20

The Kinox fan speed/duty table has 20 elements so raise the
DPTF_MAX_FAN_PERF_STATES from 10 to 20.

BUG=b:244262869
TEST=Boot to ChromeOS. Using SDV system, enter duty value, and then
system feedback fan speed.

Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: Iacd3ef0da926df5d174b215ab8ea4adc1a8b672e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67390
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Ricky Chang <rickytlchang@google.com>
Reviewed-by: John Su <john_su@compal.corp-partner.google.com>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
Dtrain Hsu 2022-09-07 10:35:06 +08:00 committed by Martin Roth
parent 66757b121a
commit 384dfacbca
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ enum {
/* Maximum found by automatic inspection (awk) */ /* Maximum found by automatic inspection (awk) */
DPTF_MAX_CHARGER_PERF_STATES = 10, DPTF_MAX_CHARGER_PERF_STATES = 10,
DPTF_MAX_FAN_PERF_STATES = 10, DPTF_MAX_FAN_PERF_STATES = 20,
/* From ACPI spec 6.3 */ /* From ACPI spec 6.3 */
DPTF_FIELD_UNUSED = 0xFFFFFFFFull, DPTF_FIELD_UNUSED = 0xFFFFFFFFull,