[PATCH 00/11] Enable gpu switching on the MacBook Pro

Lukas Wunner lukas at wunner.de
Wed Apr 22 06:48:03 PDT 2015


Hi Matthew,

On Tue, Apr 21, 2015 at 08:49:35PM +0100, Matthew Garrett wrote:
> My testing suggested that changing the DDC lines didn't change auxch, so 
> this approach doesn't work for eDP. Have you found otherwise?

I only have a MacBookPro9,1 available for testing, which was the last
non-retina and thus uses LVDS. So I can vouch for proper functioning
of the patchset on pre-retinas, not on retinas (which use eDP because
dual channel LVDS maxes out 2048×1536 at 60 Hz, the retinas have 2880x1800).

Background:
The last non-retina (MacBookPro9,1) and the first retina (MacBookPro10,1)
were sold alongside each other, from June 2012 to October 2013.
The following generation (MacBookPro11, October 2013) was retina only.
Pre-retina MacBookPros with dual GPUs Intel/Nvidia or Intel/AMD were
available starting with the MacBookPro6, April 2010.

I cannot verify that gmux doesn't switch auxch but I understand you
worked around this by stashing the EDID after nouveau has read it and
retrieving the stashed version from i915:
http://www.codon.org.uk/~mjg59/tmp/retina_patches/0016-vga_switcheroo-Allow-stashing-of-panel-data.patch
http://www.codon.org.uk/~mjg59/tmp/retina_patches/0025-i915-Use-vga_switcheroo-to-obtain-and-stash-EDID-DPC.patch
http://www.codon.org.uk/~mjg59/tmp/retina_patches/0026-nouveau-Use-vga_switcheroo-to-obtain-and-stash-EDID-.patch

It would be great if someone with a retina MBP could test my patchset,
and if it doesn't work, try it with these three patches applied on top.

Thanks,

Lukas


More information about the dri-devel mailing list