diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-06-28 12:03:20 -0600 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-07-13 16:08:37 +0000 |
commit | ce29eab03507754654ebd62210bcaefa0ea5ee1b (patch) | |
tree | 4fc4d755018ad5bf8d4cd5c72060aee0252aaa58 /Documentation/tutorial/part2.md | |
parent | 7ae8fa538e2aaabb5414e5e90584f9bcb7e6f1e4 (diff) |
mb/google/brya/acpi: Keep track of dGPU power state
To avoid extraneous calls from the kernel to _ON or _OFF, keep track
of the power state of the GPU in an integer and exit _ON and _OFF
routines early when attempting to enter the current state.
BUG=b:236676400
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Ie874fcdc7022c4fde6f557d1ee06e8392ae3d850
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65482
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Robert Zieba <robertzieba@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'Documentation/tutorial/part2.md')
0 files changed, 0 insertions, 0 deletions