Skip to content

Commit

Permalink
[PATCH] atyfb: Fix interlaced modes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Syrj�l� authored and Linus Torvalds committed Jan 10, 2006
1 parent 50c839c commit a87d7fd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |*/
Expand Down

0 comments on commit a87d7fd

Please sign in to comment.