summaryrefslogtreecommitdiff
path: root/src/drivers/intel/dptf/chip.h
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-05-29 14:19:15 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-07-07 17:21:07 +0000
commit3a9cde9ab630fa34240b16f7e6ae10b5a61aa67e (patch)
treeb85c33d30756850725c2866e8394b442a5faca5c /src/drivers/intel/dptf/chip.h
parent7eb1136c27a839a18a4224b970b5a61587e29bd7 (diff)
downloadcoreboot-3a9cde9ab630fa34240b16f7e6ae10b5a61aa67e.tar.xz
dptf: Add support for Critical Policies
This patch adds support for DPTF Critical Policies, which are consist of Method definitions only. They are `_CRT` and `_HOT`, which are defined as temperature thresholds that, when exceeded, will execute a graceful suspend or a graceful shutdown, respectively. BUG=b:143539650 TEST=compiles Change-Id: I711ecdcf17ae8f6e653f33069201da4515ace85e Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41887 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/drivers/intel/dptf/chip.h')
-rw-r--r--src/drivers/intel/dptf/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/dptf/chip.h b/src/drivers/intel/dptf/chip.h
index 0cd2ad2063..8d77603f9e 100644
--- a/src/drivers/intel/dptf/chip.h
+++ b/src/drivers/intel/dptf/chip.h
@@ -8,6 +8,7 @@
struct drivers_intel_dptf_config {
struct {
struct dptf_active_policy active[DPTF_MAX_ACTIVE_POLICIES];
+ struct dptf_critical_policy critical[DPTF_MAX_CRITICAL_POLICIES];
struct dptf_passive_policy passive[DPTF_MAX_PASSIVE_POLICIES];
} policies;
};