From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760172AbZBDX53 (ORCPT ); Wed, 4 Feb 2009 18:57:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757498AbZBDX5T (ORCPT ); Wed, 4 Feb 2009 18:57:19 -0500 Received: from gate.crashing.org ([63.228.1.57]:58533 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756938AbZBDX5S (ORCPT ); Wed, 4 Feb 2009 18:57:18 -0500 Subject: Re: [patch 07/41] fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks From: Benjamin Herrenschmidt To: Greg KH Cc: linux-kernel@vger.kernel.org, stable@kernel.org, Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , Willy Tarreau , Rodrigo Rubira Branco , Jake Edge , Eugene Teo , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Risto Suominen In-Reply-To: <20090204184602.GH25246@kroah.com> References: <20090204184029.881610776@mini.kroah.org> <20090204184602.GH25246@kroah.com> Content-Type: text/plain Date: Thu, 05 Feb 2009 10:51:15 +1100 Message-Id: <1233791475.4612.24.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2009-02-04 at 10:46 -0800, Greg KH wrote: > plain text document attachment > (fbdev-atyfb-fix-dsp-config-on-some-powermacs-powerbooks.patch) > 2.6.27-stable review patch. If anyone has any objections, please let us know. My only possible worry with that one is the first generation clamshell iBook which uses a Mobility M1 chip, for which we haven't had anybody testing whether this would break it or not ... So if anybody with such a machine is reading this, please holler... Cheers, Ben. > ------------------ > > From: Risto Suominen > > commit 7fbb7cadd062baf299fd8b26a80ea99da0c3fe01 upstream. > > Since the complete re-write in 2.6.10, some PowerMacs (At least PowerMac 5500 > and PowerMac G3 Beige rev A) with ATI Mach64 chip have suffered from unstable > columns in their framebuffer image. This seems to depend on a value (4) read > from PLL_EXT_CNTL register, which leads to incorrect DSP config parameters to > be written to the chip. This patch uses a value calculated by aty_init_pll_ct > instead, as a starting point. > > There are questions as to whether this should be extended to other platforms > or maybe made dependent on specific chip types, but in the meantime, this has > been tested on various powermacs and works for them so let's commit it. > > Signed-off-by: Risto Suominen > Tested-by: Michael Pettersson > Signed-off-by: Benjamin Herrenschmidt > Signed-off-by: Greg Kroah-Hartman > > --- > drivers/video/aty/mach64_ct.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > --- a/drivers/video/aty/mach64_ct.c > +++ b/drivers/video/aty/mach64_ct.c > @@ -8,6 +8,9 @@ > #include > #include