diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-05-22 18:32:57 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-07-23 10:21:14 -0400 |
commit | f1ad752a096aca76f93cd7f86815af8093366fdc (patch) | |
tree | f7951163476b9c7d4c7735080d112cfb1aed7fd1 /drivers | |
parent | 119b953a80d28821a56567d84dab860b0edc7940 (diff) |
viafb: add lcd scaling support for some IGPs
viafb: add lcd scaling support for some IGPs
These IGPs should also support lcd scaling but likely this switch was
missed when adding support for them. Fix it, allowing lcd scaling on
CN750, VX800 and VX855. At least this improves the situation for
VX855. (there seems to be another scaling unrelated bug somewhere)
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/via/lcd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/via/lcd.c b/drivers/video/via/lcd.c index 55cb4ecfad00..568d15b91f0c 100644 --- a/drivers/video/via/lcd.c +++ b/drivers/video/via/lcd.c | |||
@@ -458,6 +458,9 @@ static void load_lcd_scaling(int set_hres, int set_vres, int panel_hres, | |||
458 | case UNICHROME_K8M890: | 458 | case UNICHROME_K8M890: |
459 | case UNICHROME_P4M890: | 459 | case UNICHROME_P4M890: |
460 | case UNICHROME_P4M900: | 460 | case UNICHROME_P4M900: |
461 | case UNICHROME_CN750: | ||
462 | case UNICHROME_VX800: | ||
463 | case UNICHROME_VX855: | ||
461 | reg_value = | 464 | reg_value = |
462 | K800_LCD_HOR_SCF_FORMULA(set_hres, panel_hres); | 465 | K800_LCD_HOR_SCF_FORMULA(set_hres, panel_hres); |
463 | /* Horizontal scaling enabled */ | 466 | /* Horizontal scaling enabled */ |
@@ -498,6 +501,9 @@ static void load_lcd_scaling(int set_hres, int set_vres, int panel_hres, | |||
498 | case UNICHROME_K8M890: | 501 | case UNICHROME_K8M890: |
499 | case UNICHROME_P4M890: | 502 | case UNICHROME_P4M890: |
500 | case UNICHROME_P4M900: | 503 | case UNICHROME_P4M900: |
504 | case UNICHROME_CN750: | ||
505 | case UNICHROME_VX800: | ||
506 | case UNICHROME_VX855: | ||
501 | reg_value = | 507 | reg_value = |
502 | K800_LCD_VER_SCF_FORMULA(set_vres, panel_vres); | 508 | K800_LCD_VER_SCF_FORMULA(set_vres, panel_vres); |
503 | /* Vertical scaling enabled */ | 509 | /* Vertical scaling enabled */ |