From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: EDID vs. fbmon & radeon Date: Tue, 09 Sep 2003 10:00:55 +0200 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1063094455.676.15.camel@gaston> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19wdRA-0006an-00 for ; Tue, 09 Sep 2003 01:01:20 -0700 Received: from pentafluge.infradead.org ([213.86.99.235]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 19wdR8-00041h-Nm for linux-fbdev-devel@lists.sourceforge.net; Tue, 09 Sep 2003 01:01:18 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: James Simmons Cc: Linux Fbdev development list > Hm. The most important goal I think should be that as much as possible > code sharing goes on. The way XFree86 handles it is that th edrivers only > have to deal with 2 functions for writing the i2c register. Everything > else is handled by a upper layer. I like to see fbdev have the same thing. If you look at my radeonfb work, you'll notice that I do pretty much like XFree: that is I provide low level i2c routines to the kernel i2c layer, and later one use these along with chip specific code (actually copied from XFree) to retreive the EDID. It can't be all factored due to some HW gory details though. What XFree does though is to parse the EDID and expose structures containing the decoded timing infos so that the driver can actually pick individual modes in there knowing which ones come from detailed timing blocks and chich ones are calculated VESA modes. We could acheive the same by adding some flags to the modedb we generate. Ben. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf