diff options
author | Evgeny Zinoviev <me@ch1p.com> | 2019-05-10 01:50:45 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-02-09 02:26:21 +0300 |
commit | 67c4ac4764c85aacc1ace749b3e4a6c0781de990 (patch) | |
tree | b7fdb820af31e99155e897b7452cba4c6f61782b /src/cpu/x86/Kconfig | |
parent | b743178ab3012aacc8210667d664c1098244cec9 (diff) |
drivers/apple: Add hybrid graphics driver
A hybrid graphics driver for Apple MacBook Pro.
The driver logic is based on lenovo/hybrid_graphics. It is splitted
into romstage and ramstage parts.
The mainboard code calls the driver from romstage to get the GPU
state. The driver reads the state from the `hybrid_grapihcs_mode`
nvram option, switches dGPU power on or off according to the state
and returns the state to the mainboard code. The mainboard code then
has to hide the disabled PCI device.
The ramstage part handles the graphics muxes. The muxes code is based
on the apple-gmux linux driver, originally written by:
* Canonical Ltd. <seth.forshee@canonical.com>
* Andreas Heider, 2010-2012 <andreas@meetr.de>
* Lukas Wunner, 2015 <lukas@wunner.de>
Tested on MacBook Pro Retina 15 Mid 2012 (MacBook Pro 10,1).
Change-Id: I22b66622cd2da0e9951ee726d650d204fbb8a5bc
Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Diffstat (limited to 'src/cpu/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions