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

2015-05-02 Thread Lu, Ran
Hi Lukas, Lukas Wunner wrote: > Included below is a tentative patch to set register 0x7F when switching > the DDC lines. It would be great if someone with a retina could test > the patchset I've posted plus this tentative patch since I can't test it > myself. > > * MacBookPro11 (second-gen retina

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

2015-04-25 Thread Lukas Wunner
Hi, 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? Disassembling the OS X gmux driver (AppleMuxControl 3.6.22) revealed that register 0x7F i

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

2015-04-22 Thread Lukas Wunner
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

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

2015-04-21 Thread Matthew Garrett
On Tue, Apr 21, 2015 at 11:58:20AM +0200, Lukas Wunner wrote: > On MBPs, the panel is not connected to one of the gpus, but to the > gmux chip (the "handler" in vga_switcheroo speak). Initially the gmux > is switched to the discrete gpu. The integrated i915 gpu is therefore > unable to detect the

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

2015-04-21 Thread Lukas Wunner
The following patchset extends vga_switcheroo and related drivers to enable gpu switching on the MacBook Pro. On MBPs, the panel is not connected to one of the gpus, but to the gmux chip (the "handler" in vga_switcheroo speak). Initially the gmux is switched to the discrete gpu. The integrated i91