Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757304Ab0DRSYn (ORCPT ); Sun, 18 Apr 2010 14:24:43 -0400 Received: from mail.gmx.net ([213.165.64.20]:53084 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752852Ab0DRSYm (ORCPT ); Sun, 18 Apr 2010 14:24:42 -0400 X-Authenticated: #10250065 X-Provags-ID: V01U2FsdGVkX1+hX9ohsjqhU83RlfDE+RTUj15MXJ4D6NastruLUB RxwmO5GTqamZ5v Message-ID: <4BCB4E64.4000407@gmx.de> Date: Sun, 18 Apr 2010 20:24:36 +0200 From: Florian Tobias Schandinat User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: Jonathan Corbet CC: linux-kernel@vger.kernel.org, Harald Welte , JosephChan@via.com.tw, ScottFang@viatech.com.cn, Deepak Saxena , linux-fbdev-devel@lists.sourceforge.net Subject: Re: [PATCH 07/16] viafb: Add 1200x900 DCON/LCD panel modes for OLPC XO-1.5 References: <1270746946-12467-1-git-send-email-corbet@lwn.net> <1270746946-12467-8-git-send-email-corbet@lwn.net> <4BBF9BC2.9070502@gmx.de> <20100418113930.1ba08ee3@bike.lwn.net> In-Reply-To: <20100418113930.1ba08ee3@bike.lwn.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54000000000000004 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2358 Lines: 51 Jonathan Corbet schrieb: > On Fri, 09 Apr 2010 23:27:30 +0200 > Florian Tobias Schandinat wrote: > >> What will happen if someone with no VX855 will try to enter 1200x900 >> mode? Probably the world won't be destroyed but I have a really ugly >> feeling that the driver is not well prepared for this situation. > > OK, I'm certainly exposing my relative lack of understanding of > framebuffer issues (I'm here to add a camera driver, remember? :), Well I wasn't a graphics guy and just wanted a working display driver. > but...is this really something that older chipsets can't handle? Or is > it just that nobody has had that size of panel before? It's not the chipsets that are incapable (AFAIK) it's just that the patch is only adding the right PLL values for frequency generation for VX855 and set the values for all other chipsets to 0. Yeah that means this panel size wasn't supported before (by the driver). 0 is certainly not what we want and I think about replacing this whole fixed table with the formulas used in VIAs OpenSource X driver (although those are a bit more complicated I expected when I looked at unichrome). However this will certainly be a big change that needs a lot of thought and testing so nothing that will happen very soon. I am just worried what will happen if one tries to set this mode with an older chipset. I'm pretty sure that it won't work and won't fail gracefully. >> Haven't >> tested yet as I'm waiting for the official forward port but I think it >> might be better to reschedule this patch for later or add some PLL >> values that are supposed to work (using/executing the formulas in the >> VIA open source X driver) > > If it's really not acceptable, then it will stay out, but I would > rather get it merged. I will leave it in the series for now; it can > come out later if need be. Yeah please leave it in the series for now. I'd just appreciate it very much if one were to generate the missing values before this gets into mainline....or replacing this hardcoded values. Thanks, Florian Tobias Schandinat -- 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/