]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks
authorRisto Suominen <Risto.Suominen@gmail.com>
Tue, 13 Jan 2009 20:09:30 +0000 (20:09 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Feb 2009 06:08:25 +0000 (17:08 +1100)
commit1560d18101344c40abdbe4acfd8145cb9744a662
tree5992150dd976a50d81fe5ba472397ab26507494c
parentc5dcb8d6fbc959a0e65fc9924fb0c2a036647230
fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks

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 <Risto.Suominen@gmail.com>
Tested-by: Michael Pettersson <mike@it.uu.se>
Cc: <stable@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/video/aty/mach64_ct.c