]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] gxt4500: Fix colormap and PLL setting, support GXT6000P
authorPaul Mackerras <paulus@samba.org>
Fri, 22 Dec 2006 09:10:36 +0000 (01:10 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:50 +0000 (08:55 -0800)
commit31fccf7fe4097e62f038bdfe8f4f68ecaea8ebe7
treed0a62c413b17572e2d8baa4fbd79fde042458b40
parent5e40508e5fee2dac7b04d5bc5b5ef3b452f0a899
[PATCH] gxt4500: Fix colormap and PLL setting, support GXT6000P

This fixes some bugs in the gxt4500 framebuffer driver, and adds support
for GXT6000P cards.

First, I had the red and blue channels swapped in the colormap update code,
resulting in penguins' noses and feet turning blue (though the penguins
weren't actually shivering :).

Secondly, the code that calculated the values to put in the PLL that
generates the pixel clock wasn't observing some constraints that I wasn't
originally aware of, but am now that I have some documentation on the chip.

The GXT6000P is essentially identical from software's point of view, except
for a different reference clock for the PLL, and the addition of a geometry
engine (which this driver doesn't use).

Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/gxt4500.c