Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbXBDURh (ORCPT ); Sun, 4 Feb 2007 15:17:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752534AbXBDURh (ORCPT ); Sun, 4 Feb 2007 15:17:37 -0500 Received: from mail-relay-3.tiscali.it ([213.205.33.43]:47051 "EHLO mail-relay-3.tiscali.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752519AbXBDURh (ORCPT ); Sun, 4 Feb 2007 15:17:37 -0500 Date: Sun, 4 Feb 2007 21:17:13 +0100 From: Luca Tettamanti To: linux-fbdev-devel@lists.sourceforge.net Cc: Andrew Morton , Dave Airlie , Giuseppe Bilotta , linux-kernel@vger.kernel.org Subject: Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring EDID info Message-ID: <20070204201713.GA12867@dreamland.darkstar.lan> References: <20070128160831.fb51347f.akpm@osdl.org> <21d7e9970701281612q56b694edp6efd1a5556dea3fe@mail.gmail.com> <20070128162907.370f5476.akpm@osdl.org> <21d7e9970701281639w57edc2efw4ba620d4c1bdcee7@mail.gmail.com> <20070130203301.GA15067@dreamland.darkstar.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070130203301.GA15067@dreamland.darkstar.lan> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2351 Lines: 49 Il Tue, Jan 30, 2007 at 09:33:01PM +0100, Luca Tettamanti ha scritto: > Il Mon, Jan 29, 2007 at 03:37:22PM +0100, Giuseppe Bilotta ha scritto: > > On 1/29/07, Dave Airlie wrote: > > > > > > Because most users won't even be aware of the module option: they'll just > > > > > > know that their card doesn't work right. > > > > > > > > > > This isn't a card problem this is a monitor problem, the card just > > > > > passes through the edid data from the monitor... or else the > > > > > programming of the card registers from edid is wrong.. > > > > > > > > In which case the same problem would occur with different video cards, so > > > > this patch should be some generic thing, available to all drivers, no? > > > > > > It should be in the fb layer not card specific.. as it may happen on any card... > > > > Although solving the problem at the fb layer level is probably the > > correct/best way to do it, I am not aware of people having problems > > with broken EDIDs and non-nVidia cards. By contrast, workarounds for > > nVidia and broken EDIDs is a very common thing to do even on Windows. > > Not all drivers have support for reading EDID information, so in many > cases it just "works". My old monitor had garbage in the EDID eeprom and > I had to pass "ignore_edid" to radeonfb (before I reprogrammed the > eeprom that is :P). > > > Plus, providing an fb-layer-level solution is way beyond my kernel > > programming experience :) > > I'll try to code something in the weekend. I'm somewhat stuck. fbmon has the library functions to parse and optionally fix EDID block, but it lacks the knowledge of the source of the data; IOW it's not possible to ignore the EDID coming from a certain head, the flag would be global (which may be less that optimal with multi-head setups). So instead of adding an option I'd use the existing broken EDID db, adding another state (say 'unfixable') which causes the data to be discarded. Comments? Giuseppe, can you send me the EDID block of your monitor? Luca -- Sbagliare ? umano, ma per incasinare davvero le cose serve un computer. - 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/