[Mplayer-cvslog] CVS: main/drivers/radeon radeonfb.c,1.14,1.15

Nick Kurshev nick at mplayer.dev.hu
Mon Oct 8 11:02:44 CEST 2001


Update of /cvsroot/mplayer/main/drivers/radeon
In directory mplayer:/var/tmp.root/cvs-serv15596/main/drivers/radeon

Modified Files:
	radeonfb.c 
Log Message:
Fully enabled new logic

Index: radeonfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/radeon/radeonfb.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- radeonfb.c	8 Oct 2001 08:46:13 -0000	1.14
+++ radeonfb.c	8 Oct 2001 09:02:24 -0000	1.15
@@ -2012,7 +2012,7 @@
 			      (useable_precision << 16) |
 			      (rinfo->ram.rloop << 20));
 	save->dda_on_off = (ron << 16) | roff;
-	return 0;
+	return 1;
 }
 
 /*
@@ -2055,7 +2055,7 @@
     prim_mon = PRIMARY_MONITOR(rinfo);
     if (((prim_mon == MT_DFP) || (prim_mon == MT_LCD)))
     {
-        radeon_init_fp_regs(rinfo, save, mode);
+/*        radeon_init_fp_regs(rinfo, save, mode);*/
     }
 
 RTRACE("radeonfb: radeon_init_mode returns SUCCESS\n"); 
@@ -3142,7 +3142,7 @@
 static int radeon_load_video_mode (struct radeonfb_info *rinfo,
                                     struct fb_var_screeninfo *mode)
 {
-/*
+
 	struct radeon_regs newmode;
 
 RTRACE("radeonfb: radeon_load_video_mode is called\n"); 
@@ -3151,16 +3151,6 @@
 	radeonfb_blank(VESA_POWERDOWN,&rinfo->info);
 	radeon_write_mode(rinfo, &newmode);
 	radeonfb_blank(VESA_NO_BLANKING,&rinfo->info);
-	return 0;
-*/
-	struct radeon_regs newmode;
-
-radeon_init_common_regs(rinfo,&newmode);
-radeon_init_crtc_regs(rinfo,&newmode,mode);
-radeon_init_pll_regs(rinfo,&newmode,mode);
-radeon_init_dda_regs(rinfo,&newmode,mode);
-	/* do it! */
-	radeon_write_mode (rinfo, &newmode);
 	return 0;
 }
 




More information about the MPlayer-cvslog mailing list