Commit a87d7fdd authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Linus Torvalds
Browse files

[PATCH] atyfb: Fix interlaced modes

Fix interlaced display modes.
Signed-off-by: default avatarVille Syrjälä <>
Signed-off-by: default avatarAntonino Daplas <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 50c839c7
......@@ -967,16 +967,6 @@ static int aty_var_to_crtc(const struct fb_info *info,
vdisplay = yres;
if(vmode & FB_VMODE_DOUBLE)
vdisplay <<= 1;
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)
/*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 |
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment