summaryrefslogtreecommitdiff
path: root/src/drivers/intel/dptf/chip.h
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-05-29 13:56:37 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-07-07 17:20:13 +0000
commitc41f7f15c192d06b5dfdeb1b74f99278cee66110 (patch)
tree4e8e33a2268c837f329fafb05d42837ac119fae9 /src/drivers/intel/dptf/chip.h
parentff2f6b2478dac8cd957695e528f13babaa49a963 (diff)
dptf: Add support for generation of Active Policies
This change adds support for generating the different pieces of DPTF Active Policies. This includes the Active Relationship Table, in addition to _ACx methods. BUG=b:143539650 TEST=compiles Change-Id: Iea0ccbd96f88d0f3a8f2c77a7d0f3a284e5ee463 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41885 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/drivers/intel/dptf/chip.h')
-rw-r--r--src/drivers/intel/dptf/chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/intel/dptf/chip.h b/src/drivers/intel/dptf/chip.h
index 704b83e763..730d23ed6b 100644
--- a/src/drivers/intel/dptf/chip.h
+++ b/src/drivers/intel/dptf/chip.h
@@ -3,7 +3,12 @@
#ifndef _DRIVERS_INTEL_DPTF_CHIP_H_
#define _DRIVERS_INTEL_DPTF_CHIP_H_
+#include <acpi/acpigen_dptf.h>
+
struct drivers_intel_dptf_config {
+ struct {
+ struct dptf_active_policy active[DPTF_MAX_ACTIVE_POLICIES];
+ } policies;
};
#endif /* _DRIVERS_INTEL_DPTF_CHIP_H_ */