From 9b8fa7214f03efc6204ff0befd0482da63d42966 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 23 Oct 2018 22:21:17 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/29249 Reviewed-by: Sumeet R Pawnikar Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/acpi/dptf/thermal.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3