davinci: fb: fix frame buffer driver issues
authorSudhakar Rajashekhara <[email protected]>
Tue, 1 Dec 2009 21:17:43 +0000 (13:17 -0800)
committerLinus Torvalds <[email protected]>
Wed, 2 Dec 2009 00:32:19 +0000 (16:32 -0800)
commit3510b8f7f53bf0ded13888724734bba87d22ecc3
tree0a4680d44c9867a1124bc6939170c7ae54d1aa2d
parentfa00e106eb6f082654d822a0946c0c86297ede2c
davinci: fb: fix frame buffer driver issues

Following issues have been addressed on DA8XX/OMAP-L1XX:

a. Screen misalignment during booting when frame buffer console is
   enabled.

b. Driver was configured always in PSEUDOCOLOR mode.  This patch
   dynamically configures the driver either in PSEUDOCOLOUR or TRUECOLOR
   mode depending on bpp.

c. The RED and BLUE offsets were interchanged resulting in wrong
   bootup logo colour.

This patch has been tested on DA830/OMAP-L137 and DA850/OMAP-L138 EVMs.

Signed-off-by: Sudhakar Rajashekhara <[email protected]>
Cc: Steve Chen <[email protected]>
Cc: Pavel Kiryukhin <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/da8xx-fb.c