diff options
author | Karthikeyan Ramasubramanian <kramasub@chromium.org> | 2018-10-23 22:21:17 -0600 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-11-15 19:58:17 +0000 |
commit | 9b8fa7214f03efc6204ff0befd0482da63d42966 (patch) | |
tree | 0c1e85c1adeb7d4d0b14108723e5f5860d63cbe8 /src | |
parent | 036ccd73a34777908132e6ec2f59adce6ae607f7 (diff) | |
download | coreboot-9b8fa7214f03efc6204ff0befd0482da63d42966.tar.xz |
soc/intel/skylake/acpi/dptf: Add support for Multi-DPTF Profile
Currently mode-aware DPTF depends on Tablet Mode Switch to load the
right table. This does not scale well with device types and configuration.
This change helps to decouple the mode-aware DPTF from Tablet Mode Switch.
This change allows ACPI to load the appropriate DPTF table based on the
profile number as detected by EC.
BUG=b:118149364
BRANCH=None
TEST=Ensured that the expected DPTF table are loaded in different
modes(base attached/detached and clamshell/360-flipped) on Soraka and
Nautilus.
Change-Id: Ibffe9c58f970aec37aa74a040170c4cf559bab33
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/29249
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/skylake/acpi/dptf/thermal.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/acpi/dptf/thermal.asl b/src/soc/intel/skylake/acpi/dptf/thermal.asl index 052b7a5e19..71f7b83db2 100644 --- a/src/soc/intel/skylake/acpi/dptf/thermal.asl +++ b/src/soc/intel/skylake/acpi/dptf/thermal.asl @@ -83,7 +83,7 @@ Method (TPET) Method (DTRP, 2, Serialized) { #ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES - If (LEqual (\_SB.PCI0.LPCB.EC0.RCTM, One)) { + If (LEqual (\_SB.PCI0.LPCB.EC0.RCDP, One)) { Return (CTOK (Arg0)) } Else { #endif |