diff options
author | Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> | 2020-05-10 01:24:11 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-18 07:13:23 +0000 |
commit | 97c5464443306f26b61cec3a0f50108a5c06b7ef (patch) | |
tree | f085457907ad200a0d9d9be8a07c937e755fae91 /src/soc/intel/skylake/chip.h | |
parent | 19c2ce7639d55908d210782ae5a0315396cc7eaf (diff) |
skylake: update processor power limits configuration
Update processor power limit configuration parameters based on
common code base support for Intel Skylake SoC based platforms.
BRANCH=None
BUG=None
TEST=Built and tested on nami system
Change-Id: Idc82f3d2f805b92fb3005d2f49098e55cb142e45
Signed-off-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41238
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/chip.h')
-rw-r--r-- | src/soc/intel/skylake/chip.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h index eb6cf9d7bc..92cd1bad85 100644 --- a/src/soc/intel/skylake/chip.h +++ b/src/soc/intel/skylake/chip.h @@ -11,6 +11,7 @@ #include <intelblocks/cfg.h> #include <intelblocks/gspi.h> #include <intelblocks/lpc_lib.h> +#include <intelblocks/power_limit.h> #include <stdint.h> #include <soc/gpe.h> #include <soc/gpio.h> @@ -33,6 +34,9 @@ struct soc_intel_skylake_config { /* Common struct containing soc config data required by common code */ struct soc_intel_common_config common_soc_config; + /* Common struct containing power limits configuration information */ + struct soc_power_limits_config power_limits_config; + /* IGD panel configuration */ unsigned int gpu_pp_up_delay_ms; unsigned int gpu_pp_down_delay_ms; @@ -100,27 +104,6 @@ struct soc_intel_skylake_config { /* Package PL4 power limit in Watts */ u32 PowerLimit4; - /* PL2 Override value in Watts */ - u32 tdp_pl2_override; - /* PL1 Override value in Watts */ - u32 tdp_pl1_override; - - /* SysPL2 Value in Watts */ - u32 tdp_psyspl2; - - /* SysPL3 Value in Watts */ - u32 tdp_psyspl3; - /* SysPL3 window size */ - u32 tdp_psyspl3_time; - /* SysPL3 duty cycle */ - u32 tdp_psyspl3_dutycycle; - - /* PL4 Value in Watts */ - u32 tdp_pl4; - - /* Estimated maximum platform power in Watts */ - u16 psys_pmax; - /* Whether to ignore VT-d support of the SKU */ int ignore_vtd; |