[Intel-gfx] [PATCH v5 00/12] Enable GPU switching on pre-retina MacBook Pro

Bastien Nocera hadess at hadess.net
Fri Mar 4 16:12:27 UTC 2016


Lukas Wunner <lukas <at> wunner.de> writes:
> 
> Enable GPU switching on the pre-retina MacBook Pro (2008 - 2013), v5.
<snip>

Hey Lukas,

I've tested your patchset on a MacBookPro8,1, with an integrated Intel and
discrete AMD/ATI GPUs.
I've used the COPR repository here to cut down on my compilation time:
https://copr.fedorainfracloud.org/coprs/firstyear/kernel-mbp/

I'm not certain how to test out your changes, or what the consequences should
be on a stock Fedora 23/GNOME 3.18 installation. After booting (note that I
did not change any command-line options in grub), a gnome-shell/gdm X11
session comes up (I disabled Wayland, to rule out behavioural changes), I'd
log in to GNOME and gnome-shell (which starts another X11 session on
another VT).

I did not use any external screens to test this.

>From a terminal there, I can see that both the integrated and discrete GPUs
are turned on, and I believe that the HDMI audio on the AMD/ATI card is
also powered on.

I've seen that the patch is now queued for 4.6, and was wondering what
changes would be necessary to make sure that only the integrated card is
used by default, and the discrete GPU only used when the VGA switcheroo is
actually enabled (or maybe through DRI_PRIME=1?)

Cheers

PS: Please CC: me as I'm not subscribed to this list.



More information about the Intel-gfx mailing list