[Mplayer-cvslog] CVS: main/drivers tdfx_vid.c,1.3,1.4

Alban Bedel CVS albeu at mplayerhq.hu
Wed Mar 12 15:59:16 CET 2003


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

Modified Files:
	tdfx_vid.c 
Log Message:
Shut up some debug messages


Index: tdfx_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/tdfx_vid.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tdfx_vid.c	12 Mar 2003 11:09:23 -0000	1.3
+++ tdfx_vid.c	12 Mar 2003 14:58:55 -0000	1.4
@@ -618,6 +618,7 @@
   tdfx_outl(VIDPROCCFG,vidcfg);
 
   // Start coord
+  //printk(KERN_DEBUG "tdfx_vid: start %dx%d\n",ov.dst_x & 0xFFF,ov.dst_y & 0xFFF);
   tdfx_outl(VIDOVRSTARTCRD,(ov.dst_x & 0xFFF)|((ov.dst_y & 0xFFF)<<12));
   // End coord
   tdfx_outl(VIDOVRENDCRD, ((ov.dst_x + disp_w) & 0xFFF)|
@@ -645,8 +646,8 @@
     tdfx_outl(SWAPPENDING,0);
     tdfx_outl(SWAPBUFCMD, 1);
   }
-  printk(KERN_DEBUG "tdfx_vid: Buf0=0x%x Buf1=0x%x Current=0x%x\n",
-	 ov.src[0],ov.src[1],tdfx_inl(VIDCUROVRSTART));
+  //printk(KERN_DEBUG "tdfx_vid: Buf0=0x%x Buf1=0x%x Current=0x%x\n",
+  //	 ov.src[0],ov.src[1],tdfx_inl(VIDCUROVRSTART));
   // Colorkey
   if(ov.use_colorkey) {
     tdfx_outl(VIDCHRMIN,ov.colorkey[0]);
@@ -660,7 +661,7 @@
   uint32_t vidcfg = tdfx_inl(VIDPROCCFG);
   //return 0;
   if(vidcfg & (1<<8)) { // Overlay is alredy on
-    printk(KERN_DEBUG "tdfx_vid: Overlay is alredy on\n");
+    //printk(KERN_DEBUG "tdfx_vid: Overlay is alredy on\n");
     return (-EFAULT); 
   }
   vidcfg |= (1<<8);



More information about the MPlayer-cvslog mailing list