diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-09-20 11:47:02 -0600 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-09-22 15:54:00 +0000 |
commit | 0eba73228f17489f8b4d4e736d800e88fb4001f2 (patch) | |
tree | 8b81424fc6ce98f8743b5e5bf0c63cbc45bf77ce /src/mainboard/google/brya/acpi | |
parent | 45b1da33c80a4b1328794a5a59c93d1988cee4f1 (diff) |
mb/google/brya/acpi: Don't clear GC6 flag after GC6 entry
According to Nvidia, the GC6 flag (DFEN) should not get cleared after
a successful GC6 entry; the kernel driver will not re-inform ACPI
that the exit should be GC6 exit as well.
BUG=b:243888246
BRANCH=brya
TEST=tested by Nvidia
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I220795928d03f269de48278ea0ab57de7253fad5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67745
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/acpi')
-rw-r--r-- | src/mainboard/google/brya/acpi/power.asl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/acpi/power.asl b/src/mainboard/google/brya/acpi/power.asl index a384297010..f2bcacb121 100644 --- a/src/mainboard/google/brya/acpi/power.asl +++ b/src/mainboard/google/brya/acpi/power.asl @@ -338,6 +338,7 @@ Method (NPON, 0, Serialized) /* Handle deferred GC6 vs. poweroff request */ Method (NPOF, 0, Serialized) { + /* Don't touch the `DFEN` flag until the GC6 exit. */ If (DFEN == GC6_DEFER_ENABLE) { /* Deferred GC6 entry */ @@ -345,8 +346,6 @@ Method (NPOF, 0, Serialized) { GC6I () } - - DFEN = GC6_DEFER_DISABLE } Else { |