mb/google/volteer: Convert static ASL files to new DPTF implementation
This patch converts the current DPTF policies from static ASL files into the new SSDT-based DPTF implementation. All settings are intended to be copied exactly. Change-Id: I964c53afbd503d47a07b982672425f0e7a986a3f Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41895 Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
c34079cea0
commit
07ac2ec021
@@ -4,6 +4,13 @@
|
||||
#define _DRIVERS_INTEL_DPTF_CHIP_H_
|
||||
|
||||
#include <acpi/acpigen_dptf.h>
|
||||
#include <timer.h> /* for MSECS_PER_SEC */
|
||||
|
||||
#define DPTF_PASSIVE(src, tgt, tmp, prd) \
|
||||
{.source = DPTF_##src, .target = DPTF_##tgt, .temp = (tmp), .period = (prd)}
|
||||
#define DPTF_CRITICAL(src, tmp, typ) \
|
||||
{.source = DPTF_##src, .temp = (tmp), .type = DPTF_CRITICAL_##typ}
|
||||
#define TEMP_PCT(t, p) {.temp = (t), .fan_pct = (p)}
|
||||
|
||||
struct drivers_intel_dptf_config {
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user