changeset 9568:ed8827c95386

Shut up some debug messages
author albeu
date Wed, 12 Mar 2003 14:58:55 +0000
parents 0c9c02cfe815
children 894d02a6469e
files drivers/tdfx_vid.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/tdfx_vid.c	Wed Mar 12 11:12:24 2003 +0000
+++ b/drivers/tdfx_vid.c	Wed Mar 12 14:58:55 2003 +0000
@@ -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);