Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/49911 )
Change subject: soc/amd/common: Notify SMU of AC/DC state upon resume ......................................................................
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 --- M src/soc/amd/common/acpi/platform.asl 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/soc/amd/common/acpi/platform.asl b/src/soc/amd/common/acpi/platform.asl index 6db12e3..23ab7ac 100644 --- a/src/soc/amd/common/acpi/platform.asl +++ b/src/soc/amd/common/acpi/platform.asl @@ -18,6 +18,8 @@ /* Platform-wide wake methods */ Method (_WAK, 1, NotSerialized) { + PNOT () + If (CondRefOf (_SB.MWAK)) { _SB.MWAK() }