DORMANTno replies

[PATCH 04/10] atyfb: Fix interlaced modes

From: syrjala@sci.fi
Date: 2005-12-09 00:44:36

Fix interlaced display modes.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
---

 atyfb_base.c |   10 ----------
 1 file changed, 10 deletions(-)

diff -urpN linux-3/drivers/video/aty/atyfb_base.c linux-4/drivers/video/aty/atyfb_base.c
--- linux-3/drivers/video/aty/atyfb_base.c	2005-12-09 02:51:32.000000000 +0200
+++ linux-4/drivers/video/aty/atyfb_base.c	2005-12-09 02:52:56.000000000 +0200
@@ -967,16 +967,6 @@ static int aty_var_to_crtc(const struct 
 		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 |*/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help