From: Lukas Wunner <lukas@wunner.de>
To: Michael Marineau <mike@marineau.org>
Cc: "Matthew Garrett" <mjg59@srcf.ucam.org>,
"Bruno Prémont" <bonbons@linux-vserver.org>,
"Gaele Strootman" <gaele@guruburu.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Bruno Bierbaumer" <bruno@bierbaumer.net>,
platform-driver-x86@vger.kernel.org,
"Darren Hart" <dvhart@infradead.org>
Subject: Re: Backlight control does not work on an Apple dual-GPU (intel/nvidia) system using nouveau
Date: Sun, 14 Feb 2016 14:40:45 +0100 [thread overview]
Message-ID: <20160214134045.GA16892@wunner.de> (raw)
In-Reply-To: <CAHW-aUd7j+iQSTw551g0oucHS6kFmWjyLURuJX0zK_S_UBMV2g@mail.gmail.com>
Hi Michael,
On Sat, Feb 13, 2016 at 10:36:47PM -0800, Michael Marineau wrote:
> On Feb 13, 2016 9:38 PM, "Matthew Garrett" <mjg59@srcf.ucam.org> wrote:
> >
> > On Sun, Feb 14, 2016 at 12:39:12AM +0100, Lukas Wunner wrote:
> > > @Bjorn Helgaas: Do you think this masquerade patch would be eligible
> > > for inclusion in the kernel or is this not in your department?
> > > https://www.marc.info/?l=grub-deavel&m=141586614924917&w=2
> >
> > I think this is an entirely appropriate piece of code to add to the EFI
> > boot code in the kernel.
>
> One note on that code: making the Intel card visible exposes a number of
> other bugs such as power management with nouveau not working any more and
> despite vga switcheroo becoming available it isn't possible to switch to
> the Intel gpu because, at least on my machine, neither the Intel nor
> nouveau drivers can figure out how to bring up the eDP link or some such.
That is correct. GPU switching for pre-retinas was finally queued for
4.6 this week, retinas are my next target. To overcome the link training
issues I had experimented with AUX proxying last year until I realized in
December that the DP spec has a link training exemption for eDP. Basically
what we need to do is wait until the active GPU has set up its eDP output,
then communicate voltage swing, pre-emphasis, lane count etc to the
inactive GPU's driver (via vga_switcheroo) and use these pre-calibrated
values to set up the output. I've hacked together an initial implementation
of the i915 and vga_switcheroo side of things in early January, then got
side-tracked while working on the nouveau part. However I'll get back to
this pretty soon.
Best regards,
Lukas
next prev parent reply other threads:[~2016-02-14 13:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-13 21:00 Backlight control does not work on an Apple dual-GPU (intel/nvidia) system using nouveau Gaele Strootman
2016-02-13 23:39 ` Lukas Wunner
2016-02-14 5:38 ` Matthew Garrett
[not found] ` <CAHW-aUd7j+iQSTw551g0oucHS6kFmWjyLURuJX0zK_S_UBMV2g@mail.gmail.com>
2016-02-14 13:40 ` Lukas Wunner [this message]
2016-02-14 13:24 ` Lukas Wunner
2016-02-20 23:06 ` Gaele Strootman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160214134045.GA16892@wunner.de \
--to=lukas@wunner.de \
--cc=bhelgaas@google.com \
--cc=bonbons@linux-vserver.org \
--cc=bruno@bierbaumer.net \
--cc=dvhart@infradead.org \
--cc=gaele@guruburu.com \
--cc=mike@marineau.org \
--cc=mjg59@srcf.ucam.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox