summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbookpro10_1/devicetree.cb
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.com>2019-05-10 01:50:45 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-02-03 22:04:21 +0300
commit4908440ccf6f7c2ae281a3e5b3163440cc7f45ef (patch)
tree30a7996174b7c26da6d2d0b42dc4a26319101f87 /src/mainboard/apple/macbookpro10_1/devicetree.cb
parent952830607c23c861991b1e9a1250bf1e6827af90 (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/mainboard/apple/macbookpro10_1/devicetree.cb')
0 files changed, 0 insertions, 0 deletions