Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757500AbZAVSXA (ORCPT ); Thu, 22 Jan 2009 13:23:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754244AbZAVSWw (ORCPT ); Thu, 22 Jan 2009 13:22:52 -0500 Received: from fk-out-0910.google.com ([209.85.128.191]:13104 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbZAVSWv (ORCPT ); Thu, 22 Jan 2009 13:22:51 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=P909lIgKZ3y9go1i+MJaydQTY1xyDitWOR7Di3GCLiBZxQyT6NNWh+l2jywzFBZMfK Wdx33hMkkQvgSdJx7+97HOxjbFRwR2Gs6YFW/V2qzztSaT62bULy6y/JAuAIBMLkjsj0 XgrfOi4BRmjUw98GkRzRGGzWk4ycJepxrWRDk= MIME-Version: 1.0 Date: Thu, 22 Jan 2009 20:22:48 +0200 Message-ID: <46e1c7760901221022p697f1689ubf03c909cdf1b99b@mail.gmail.com> Subject: [PATCH] atyfb: fix distorted image on PowerMacs From: Risto Suominen To: Alex Kern Cc: linux-kernel@vger.kernel.org, benh@kernel.crashing.org Content-Type: multipart/mixed; boundary=001636c5b0651754420461165caa Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3691 Lines: 76 --001636c5b0651754420461165caa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. Signed-off-by: Risto Suominen --- The testing is done on kernel version 2.6.18. --- a/drivers/video/aty/mach64_ct.c.org 2006-09-20 06:42:06.000000000 +0300 +++ b/drivers/video/aty/mach64_ct.c 2009-01-22 14:28:13.000000000 +0200 @@ -7,6 +7,7 @@ #include #include #include