Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume

From: Matthew Garrett
Date: Sun Jul 29 2012 - 16:59:00 EST


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.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/