Evgeny Zinoviev uploaded patch set #18 to this change.
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. <email@example.com>
* Andreas Heider, 2010-2012 <firstname.lastname@example.org>
* Lukas Wunner, 2015 <email@example.com>
Tested on MacBook Pro Retina 15 Mid 2012 (MacBook Pro 10,1).
Signed-off-by: Evgeny Zinoviev <firstname.lastname@example.org>
9 files changed, 348 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/32719/18
To view, visit change 32719. To unsubscribe, or for help writing mail filters, visit settings.