diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-09-01 11:48:38 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-12 12:31:24 +0000 |
commit | 7f287d23bc05606a805a61bc193d2a78c388f620 (patch) | |
tree | e6d967474757cd7642b5a82c5ee26a8facc5312b /src/console/vsprintf.c | |
parent | d6ac209c74a2ce8d0d7f07390f62d447c02fedf3 (diff) |
mb/google/brya/acpi: Move dGPU power checks earlier
Linux always "turns on" a PowerResource when it boots, regardless of
_STA, so the _ON routine should be idempotent. In this case, it all is,
except for the LTR restore, which would restore a value of 0 when _ON is
run the first time, which means that LTR is disabled on the root port
from then on, as the save/restore routines will keep saving/restoring
that 0. THis patch fixes the problem by moving the power checks from
PGON/PGOF to GCOO/GCOI.
BUG=b:244409563
TEST=boot agah and verify that LTR is still enabled on the root port
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I4ed78323608eede5b8310598f1f1115497ab2b5b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67278
Reviewed-by: Cliff Huang <cliff.huang@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Diffstat (limited to 'src/console/vsprintf.c')
0 files changed, 0 insertions, 0 deletions