Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757122AbZDFQwf (ORCPT ); Mon, 6 Apr 2009 12:52:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756208AbZDFQwY (ORCPT ); Mon, 6 Apr 2009 12:52:24 -0400 Received: from outbound-mail-106.bluehost.com ([69.89.22.6]:48801 "HELO outbound-mail-106.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753068AbZDFQwX (ORCPT ); Mon, 6 Apr 2009 12:52:23 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=virtuousgeek.org; h=Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=jhYhhCQ6yNvNomUOW1C+/4d5mxogNnc13ybu+5ASkPjY3LjCMWilFYYpC6OWJTGzE48qnTWWJup/1ncXCsV3Dt5yHk18q2l//RB0yH1N5iaGTT5rDquIwdP0i4rjOzYG; Date: Mon, 6 Apr 2009 09:52:16 -0700 From: Jesse Barnes To: Jarod Wilson Cc: dri-devel@lists.sourceforge.net, xorg-devel@lists.x.org, linux-kernel@vger.kernel.org, notting@redhat.com, Zhenyu Wang , Fu Michael Subject: Re: [PATCH] drm: ignore LVDS on intel graphics systems that lie about having it Message-ID: <20090406095216.4361d128@hobbes> In-Reply-To: <200904061011.26389.jarod@redhat.com> References: <200904061011.26389.jarod@redhat.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 75.111.28.251 authed with jbarnes@virtuousgeek.org} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1986 Lines: 43 On Mon, 6 Apr 2009 10:11:25 -0400 Jarod Wilson wrote: > There are a number of small form factor desktop systems with Intel > mobile graphics chips that lie and say they have an LVDS. With kernel > mode-setting, this becomes a problem, and makes native resolution > boot go haywire -- for example, my Dell Studio Hybrid, hooked to a > 1920x1080 display claims to have a 1024x768 LVDS, and the resulting > graphical boot on the 1920x1080 display uses only the top left > 1024x768, and auto-configured X will end up only 1024x768 as well. > With this change, graphical boot and X both do 1920x1080 as expected. > > Note that we're simply embracing and extending the early bail-out code > in place for the Mac Mini here. The xorg intel driver uses pci > subsystem device and vendor id for matching, while we're using dmi > lookups here. The MSI addition is courtesy of and tested by Bill > Nottingham. > > One minor issue... Current Fedora rawhide, video playback using Xv > makes X go off into the weeds with this patch added, but that's a bug > elsewhere, still confident this patch DTRT. > > Signed-off-by: Jarod Wilson > Tested-by: Bill Nottingham The 2D driver has a similar set of quirks, but since we started that list we've found that the VBIOS should contain a pretty reliable table indicating which outputs are available, including LVDS. I think if we can figure out how to parse it reliably (accounting for VBIOS versioning and structure size changes) we shouldn't need this patch. If we can't get that done in time for 2.6.30 though I'm all for including this. Zhenyu and Michael does that sound doable? Thanks, -- Jesse Barnes, Intel Open Source Technology Center -- 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/