diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-03-10 15:21:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 15:52:33 -0800 |
commit | daacccd1657bdecae8f7c98a8e2b84367a8d4e87 (patch) | |
tree | 47d770e03d53bcb6174bc6cd0397773b1d6a3a9e /drivers/video/via/lcd.c | |
parent | fe9aab8ec2d65378b0663c3287a67da4a892b54e (diff) | |
download | linux-3.10-daacccd1657bdecae8f7c98a8e2b84367a8d4e87.tar.gz linux-3.10-daacccd1657bdecae8f7c98a8e2b84367a8d4e87.tar.bz2 linux-3.10-daacccd1657bdecae8f7c98a8e2b84367a8d4e87.zip |
viafb: split color mode setting up
This patch splits color mode setting up in seperate functions. Some
hardware initialization that was previously mixed with it is moved to
viafb_setmode. As are the calls to the newly created function. This is
yet another little step towards controlling each IGA on its own.
As this patch really aims too mimic the old behaviour no regressions are
expected. However I noticed that 8bpp (or 6bpp?) seems actually a bit
broken before and after the patch.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/lcd.c')
-rw-r--r-- | drivers/video/via/lcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/via/lcd.c b/drivers/video/via/lcd.c index 3a83e5bc25d..49651e0a914 100644 --- a/drivers/video/via/lcd.c +++ b/drivers/video/via/lcd.c @@ -1006,8 +1006,6 @@ void viafb_lcd_set_mode(struct crt_mode_table *mode_crt_table, if ((viaparinfo->chip_info->gfx_chip_name != UNICHROME_CLE266) && (viaparinfo->chip_info->gfx_chip_name != UNICHROME_K400)) viafb_load_FIFO_reg(set_iga, set_hres, set_vres); - - viafb_set_color_depth(mode_bpp / 8, set_iga); } fill_lcd_format(); |