All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Heider <andreas@meetr.de>
To: David Woodhouse <dwmw2@infradead.org>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	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: Wed, 01 Aug 2012 18:06:10 +0200	[thread overview]
Message-ID: <501953F2.9040807@meetr.de> (raw)
In-Reply-To: <20120801155914.GB22963@thinkpad-t410>

Am 01.08.12 17:59, schrieb Seth Forshee:
> On Wed, Aug 01, 2012 at 04:35:44PM +0100, David Woodhouse wrote:
>> On Tue, 2012-07-31 at 10:18 -0500, Seth Forshee wrote:
>>>
>>> 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.
>>
>> Hm, when I was changing over to the external screen before boot, I could
>> get the LVDS working but *not* an external VGA or DVI monitor (via the
>> standard Apple adaptors). Should I expect that to work if I change the
>> mux 'properly' at runtime?
>
> I don't think the mini-DP port works at all with the integrated
> graphics, at least not on a Macbook Pro 8,2. I played around with it
> yesterday under OS X. When using the DGPU with an external monitor it
> works fine, but any attempts to switch to the IGPU were rejected by the
> drivers. If I forced it to the IGPU prior to connecting the external
> monitor the screen just remained blank when I plugged it in, until I
> switched back to the DGPU. It's odd though that the DDC can be switched
> over to the IGPU.

The situation is a bit different on the Macbook Pro 6,2. OS X also 
automatically switches to the DGPU when an external monitor is 
connected, but unlike the 8,2, the IGPU works fine under Linux with 
external monitors if port 0x740 is set accordingly. I'm pretty sure that 
this is also the case with for the older macbooks without dynamic switching.

> Iirc you've got the 8,3, and I'd expect it to be identical to the 8,2 in
> this respect. Also, the only reason my LVDS didn't work was because I
> wasn't telling i915 to disable SSC. I've got a patch to add a quirk for
> this that I'll send soon, since there still doesn't seem to be any way
> to get the vbios for the Intel graphics.
>
> Seth
>


  reply	other threads:[~2012-08-01 16:06 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
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 [this message]
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=501953F2.9040807@meetr.de \
    --to=andreas@meetr.de \
    --cc=airlied@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.