From: Seth Forshee <seth.forshee@canonical.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
Andreas Heider <andreas@meetr.de>,
Arun Raghavan <arun.raghavan@collabora.co.uk>,
linux-kernel@vger.kernel.org, airlied@redhat.com
Subject: Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume
Date: Tue, 31 Jul 2012 10:18:56 -0500 [thread overview]
Message-ID: <20120731151856.GA19979@thinkpad-t410> (raw)
In-Reply-To: <20120729205859.GA25819@srcf.ucam.org>
On Sun, Jul 29, 2012 at 09:59:00PM +0100, Matthew Garrett wrote:
> On Sun, Jul 29, 2012 at 09:52:51PM +0100, David Woodhouse wrote:
> > On Sun, 2012-07-29 at 20:39 +0100, Matthew Garrett wrote:
> > > And it looks like intel_lvds->edid is only set during intel_lvds_init().
> > > That seems less than ideal. How about something like this entirely
> > > untested patch?
> >
> > Actually, it works if I write 'MIGD' first and then 'IGD'. Looks like we
> > aren't switching the DDC over to the new gfx card soon enough in the
> > process?
>
> Yes, the call to the switcheroo code only comes after the card is
> powered on. Cc:ing Dave Airlie - what are the expectations here? It
> looks like i915 should have a reprobe function.
I dove into this yesterday and ended up with something similar to what
you had. I'm rescanning for the EDID from the reprobe callback, and I
also made it so that intel_lvds_init() will still keep the LVDS
connector even if the panel isn't attached at boot and
intel_lvds_detect() returns connected/disconnected based on whether or
not we found an EDID for the LVDS.
All of this is working to the extent that I can boot with the Radeon
card active, switch over to the Intel card, and get the EDID for the
internal panel and an external monitor (although oddly on an HDMI
connector, no on the DP like I expected). Both screens are remaining
blank though. However I'm also getting blank screens if I mux over to
the Intel GPU from grub before loading the kernel, which used to work
for the LVDS panel at least.
I've copied the whole series of patches I'm running on top of 3.5 to
http://people.canonical.com/~sforshee/apple-gmux-patches if anyone else
wants to give them a try. The i915 changes are in patches 13-17. I've
also pushed the i915 patches to my gmux-switcheroo branch.
Seth
next prev parent reply other threads:[~2012-07-31 15:19 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 3:39 [PATCH] apple-gmux: Restore switch registers on suspend/resume Arun Raghavan
2012-07-10 13:35 ` Seth Forshee
2012-07-10 16:05 ` Matthew Garrett
2012-07-10 16:35 ` Seth Forshee
2012-07-11 0:25 ` Andreas Heider
2012-07-29 0:42 ` David Woodhouse
2012-07-29 1:18 ` David Woodhouse
2012-07-29 7:46 ` Andreas Heider
2012-07-29 19:05 ` David Woodhouse
2012-07-29 19:34 ` Andreas Heider
2012-07-29 22:44 ` David Woodhouse
2012-07-30 14:05 ` Seth Forshee
2012-07-29 19:39 ` Matthew Garrett
2012-07-29 20:33 ` David Woodhouse
2012-07-29 20:52 ` David Woodhouse
2012-07-29 20:59 ` Matthew Garrett
2012-07-31 15:18 ` Seth Forshee [this message]
2012-07-31 17:07 ` Seth Forshee
2012-08-01 15:35 ` David Woodhouse
2012-08-01 15:59 ` Seth Forshee
2012-08-01 16:06 ` Andreas Heider
2012-08-01 19:41 ` David Woodhouse
2012-08-01 19:52 ` Seth Forshee
2012-08-01 19:43 ` David Woodhouse
2012-08-01 19:52 ` Matthew Garrett
2012-08-01 19:56 ` Seth Forshee
2012-08-01 19:56 ` Andreas Heider
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=20120731151856.GA19979@thinkpad-t410 \
--to=seth.forshee@canonical.com \
--cc=airlied@redhat.com \
--cc=andreas@meetr.de \
--cc=arun.raghavan@collabora.co.uk \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.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