[Mplayer-cvslog] CVS: main/drivers/radeon radeonfb.c,1.16,1.17

Nick Kurshev nick at mplayer.dev.hu
Mon Oct 8 11:48:23 CEST 2001


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

Modified Files:
	radeonfb.c 
Log Message:
Fixed bug of FP register writing

Index: radeonfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/radeon/radeonfb.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- radeonfb.c	8 Oct 2001 09:23:33 -0000	1.16
+++ radeonfb.c	8 Oct 2001 09:48:07 -0000	1.17
@@ -3248,6 +3248,7 @@
 	to be set before changing CRTC_EXT register.
 	Otherwise we may get a blank screen.
 	*****/
+	int prim_mon;
 RTRACE("radeonfb: radeon_write_mode is called\n"); 
 	if(DUAL_MONITOR(rinfo))	{
 		radeon_write_crtc2_regs(rinfo,mode);
@@ -3256,7 +3257,8 @@
 	radeon_write_common_regs(rinfo,mode);
 	radeon_write_dda_regs(rinfo,mode);
 	radeon_write_crtc_regs(rinfo,mode);
-	if(rinfo->crtDispType == MT_DFP || rinfo->crtDispType == MT_LCD) {
+	prim_mon = PRIMARY_MONITOR(rinfo);
+	if(prim_mon == MT_DFP || prim_mon == MT_LCD) {
 		radeon_write_fp_regs(rinfo,mode);
 	}
 	radeon_write_pll_regs(rinfo,mode);




More information about the MPlayer-cvslog mailing list