Re: tdfxfb patches

From: James Simmons (jsimmons@acsu.buffalo.edu)
Date: Mon Jun 12 2000 - 07:45:05 EST


> Two small patches attached. The first tries to avoid resetting video mode
> if not needed, this removes flicker when switching consoles with the same
> video mode. (at least on my monitor, which shuts video on sync loss)

Please send future patches for fbdev drivers to the fbdev list. Thansk
for the patches. Here is another patch to remove a replicated check.

Q: Why did they deprecate a.out support in linux?
A: Because a nasty coff is bad for your elf.

James Simmons [jsimmons@linux-fbdev.org] ____/|
fbdev/console/gfx developer \ o.O|
http://www.linux-fbdev.org =(_)=
http://linuxgfx.sourceforge.net U
http://linuxconsole.sourceforge.net

--- tdfxfb.c.orig Mon Jun 12 08:41:40 2000
+++ tdfxfb.c Mon Jun 12 08:43:31 2000
@@ -1520,10 +1520,11 @@
     return -EINVAL;
   }
 
+ /* fixme: does Voodoo3 support interlace? Banshee doesn't */
   if((var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) {
     DPRINTK("interlace not supported\n");
     return -EINVAL;
- }
+ }
 
   if(var->xoffset) {
     DPRINTK("xoffset not supported\n");
@@ -1537,12 +1538,6 @@
 
   if(var->yres > var->yres_virtual) {
     DPRINTK("virtual y resolution < physical y resolution not possible\n");
- return -EINVAL;
- }
-
- /* fixme: does Voodoo3 support interlace? Banshee doesn't */
- if((var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) {
- DPRINTK("interlace not supported\n");
     return -EINVAL;
   }
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:25 EST