diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-11-04 20:13:22 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-12-20 16:52:06 +0000 |
commit | e07e39098aaac1c0be80bae6447b04de530da949 (patch) | |
tree | e4eabc60cc1b997aeae2ab9c5972f561d13a56e3 /src/lib/memchr.c | |
parent | 35325e1688a74756c90bd5e30ef6f07f0172e85f (diff) | |
download | coreboot-e07e39098aaac1c0be80bae6447b04de530da949.tar.xz |
drvs/lenovo/hybrid_graphics/romstage: Fix dGPU activation
While the older boards use a GPIO that has no state, the newer boards'
PMH7 does have a state, that even remains after reboot.
Don't assume default values in PMH7 and instead always program it.
Fixes dGPU doesn't show up when switching from integrated to discrete
GPU. The workaround of removing all power is no longer necessary.
Change-Id: I30ec19e13269cb254e51ad1fab3b10ad1a49e86e
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/22341
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/memchr.c')
0 files changed, 0 insertions, 0 deletions