Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750910Ab2HBECw (ORCPT ); Thu, 2 Aug 2012 00:02:52 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35679 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753Ab2HBECu (ORCPT ); Thu, 2 Aug 2012 00:02:50 -0400 Date: Wed, 1 Aug 2012 23:02:42 -0500 From: Seth Forshee To: Greg KH Cc: Matthew Garrett , matt.fleming@intel.com, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com Subject: Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR Message-ID: <20120802040242.GB25933@thinkpad-t410> Mail-Followup-To: Greg KH , Matthew Garrett , matt.fleming@intel.com, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com References: <1343407934-459-1-git-send-email-mjg@redhat.com> <20120731223240.GD19134@kroah.com> <20120801165400.GA3042@srcf.ucam.org> <20120801232147.GA6228@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120801232147.GA6228@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1929 Lines: 40 On Wed, Aug 01, 2012 at 04:21:47PM -0700, Greg KH wrote: > On Wed, Aug 01, 2012 at 05:54:00PM +0100, Matthew Garrett wrote: > > On Tue, Jul 31, 2012 at 03:32:40PM -0700, Greg KH wrote: > > > > > With this series, does the latest MacBook work properly for the Intel > > > graphics driver? Or is this to resolve some other hardware issue? > > > > Apple only seem to provide the ROM for the radeon. Intel normally > > stands a much better chance of working without a ROM - the only thing it > > really uses it for is the VBT, and I'm thinking about a couple of ways > > of handlng that. > > Ok, thanks for letting me know. For some reason, the gmux isn't working > on the latest MacBook Pro so I can't get the vga switched to the Intel > PCI device. Rumor has it the osx tool at > http://codykrieger.com/gfxCardStatus will switch into the Intel chip > until the laptop is hard powered off, so it is possible, just need to > figure out how to make the hardware do the switch... There's a tool that enables some verbose logging which records all the I/O to the gmux. It works for me with a Macbook Pro 8,2 running OS X Lion, so you might give it a try. All you need to do is clone https://github.com/ah-/switcher.git, build, and run switcher. If it works you'll see messages prefixed with AGC in dmesg. Then you can use gfxCardStatus to force some switches between the integrated and discrete cards. After that you'll want to grab /var/log/kern.log to get the full logs of everything that happened. If you try this and it works, I'd appreciate it if you could send me a copy of kern.log so I can apply the information towards getting graphics switching into apple-gmux. Seth -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/