diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-10-24 00:02:14 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-10-24 09:04:55 -0400 |
commit | 51f4332bb5fef869e8a89895a7bac6b4c03b4946 (patch) | |
tree | eb505244dcfa4a20f30cf1da47c04f9bc4efcdd7 /drivers/video/via/lcd.c | |
parent | adac8d65f399b02e8a2222fc75c658e4b8d24f65 (diff) |
viafb: add initial VX900 support
This patch adds basic support for the new VX900 IGP. Almost everything
that was implemented for other IGPs is expected to work also on VX900
after this patch. The only known issue is that on the CRT output mode
setting does not always work.
It is clear that the possibility for regressions is zero.
A big thanks to VIA Technologies for making this possible and
supporting this work.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/video/via/lcd.c')
-rw-r--r-- | drivers/video/via/lcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/via/lcd.c b/drivers/video/via/lcd.c index de19e4777daf..3425c3969806 100644 --- a/drivers/video/via/lcd.c +++ b/drivers/video/via/lcd.c | |||
@@ -442,6 +442,7 @@ static void load_lcd_scaling(int set_hres, int set_vres, int panel_hres, | |||
442 | case UNICHROME_CN750: | 442 | case UNICHROME_CN750: |
443 | case UNICHROME_VX800: | 443 | case UNICHROME_VX800: |
444 | case UNICHROME_VX855: | 444 | case UNICHROME_VX855: |
445 | case UNICHROME_VX900: | ||
445 | reg_value = | 446 | reg_value = |
446 | K800_LCD_HOR_SCF_FORMULA(set_hres, panel_hres); | 447 | K800_LCD_HOR_SCF_FORMULA(set_hres, panel_hres); |
447 | /* Horizontal scaling enabled */ | 448 | /* Horizontal scaling enabled */ |
@@ -485,6 +486,7 @@ static void load_lcd_scaling(int set_hres, int set_vres, int panel_hres, | |||
485 | case UNICHROME_CN750: | 486 | case UNICHROME_CN750: |
486 | case UNICHROME_VX800: | 487 | case UNICHROME_VX800: |
487 | case UNICHROME_VX855: | 488 | case UNICHROME_VX855: |
489 | case UNICHROME_VX900: | ||
488 | reg_value = | 490 | reg_value = |
489 | K800_LCD_VER_SCF_FORMULA(set_vres, panel_vres); | 491 | K800_LCD_VER_SCF_FORMULA(set_vres, panel_vres); |
490 | /* Vertical scaling enabled */ | 492 | /* Vertical scaling enabled */ |