aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/aty/atyfb_base.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 5d46171fa64c..845da14f56d3 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -967,16 +967,6 @@ static int aty_var_to_crtc(const struct fb_info *info,
967 vdisplay = yres; 967 vdisplay = yres;
968 if(vmode & FB_VMODE_DOUBLE) 968 if(vmode & FB_VMODE_DOUBLE)
969 vdisplay <<= 1; 969 vdisplay <<= 1;
970 if(vmode & FB_VMODE_INTERLACED) {
971 vdisplay >>= 1;
972
973 /* The prefered mode for the LCD is not interlaced, so disable it if
974 it was enabled. For doublescan there is no problem, because we can
975 compensate for it in the hardware stretching (we stretch half as much)
976 */
977 vmode &= ~FB_VMODE_INTERLACED;
978 /*crtc->gen_cntl &= ~CRTC_INTERLACE_EN;*/
979 }
980 crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH); 970 crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH);
981 crtc->lcd_gen_cntl &= ~(HORZ_DIVBY2_EN | DIS_HOR_CRT_DIVBY2 | 971 crtc->lcd_gen_cntl &= ~(HORZ_DIVBY2_EN | DIS_HOR_CRT_DIVBY2 |
982 /*TVCLK_PM_EN | VCLK_DAC_PM_EN |*/ 972 /*TVCLK_PM_EN | VCLK_DAC_PM_EN |*/