diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2021-01-25 16:54:42 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-27 10:24:36 +0000 |
commit | 656743fb6b5f43c717b8d1685f32ee9e33694b4b (patch) | |
tree | 335a3f47f37d1904ceb1b35ce60166ab3f774d41 /src/soc/amd | |
parent | 022c62a7a450a71a3b0dd6aaf217d969c62c1891 (diff) |
soc/amd/common: Notify SMU of AC/DC state upon resume
As a result of S3 resume, call ALIB function 1 to report the current
AC/DC state.
BUG=177377069
TEST=Verify printf is called during resume on Morphius
BRANCH=Zork
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Change-Id: I3e52b0625c1222f10ea27568d5431328131a26a9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/acpi/platform.asl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/acpi/platform.asl b/src/soc/amd/common/acpi/platform.asl index 6db12e3d47..23ab7ac713 100644 --- a/src/soc/amd/common/acpi/platform.asl +++ b/src/soc/amd/common/acpi/platform.asl @@ -18,6 +18,8 @@ Scope (\_SB){ /* Platform-wide wake methods */ Method (\_WAK, 1, NotSerialized) { + PNOT () + If (CondRefOf (\_SB.MWAK)) { \_SB.MWAK() } |