]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] atyfb: Fix interlaced modes
authorVille Syrjälä <syrjala@sci.fi>
Tue, 10 Jan 2006 04:53:25 +0000 (20:53 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:48 +0000 (08:01 -0800)
Fix interlaced display modes.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/atyfb_base.c

index 5d46171fa64c951a1e74793ebe74f99ea0506e7f..845da14f56d3c8c6dc3b989a9124c123be22f7aa 100644 (file)
@@ -967,16 +967,6 @@ static int aty_var_to_crtc(const struct fb_info *info,
                vdisplay = yres;
                if(vmode & FB_VMODE_DOUBLE)
                        vdisplay <<= 1;
-               if(vmode & FB_VMODE_INTERLACED) {
-                       vdisplay >>= 1;
-
-                       /* The prefered mode for the LCD is not interlaced, so disable it if
-                          it was enabled. For doublescan there is no problem, because we can
-                          compensate for it in the hardware stretching (we stretch half as much)
-                        */
-                       vmode &= ~FB_VMODE_INTERLACED;
-                       /*crtc->gen_cntl &= ~CRTC_INTERLACE_EN;*/
-               }
                crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH);
                crtc->lcd_gen_cntl &= ~(HORZ_DIVBY2_EN | DIS_HOR_CRT_DIVBY2 |
                        /*TVCLK_PM_EN | VCLK_DAC_PM_EN |*/