[PATCH] fbdev blank cleanup

From: James Simmons (jsimmons@transvirtual.com)
Date: Fri Nov 30 2001 - 14:18:09 EST


This patch is pretty big. Basically it moves the blank function out of
struct fb_info into struct fb_ops where it belongs. I makes it flexiable
that if your hardware doesn't support blanking of any kind that you can
leave this field NULL in struct fb_ops. At present if you don't supply a
blank function it could oops (see where blank() is called in fbcon.c).
Thus people are forced to supply a empty function. This saves that
overhead of a function call for those drivers. I have tested it on my
local machine for the past 24 hours. It works fine. I did a compile test
for every driver that is avaliable on the ix86 thus those drivers do
compile and most likely work. Please test this on other hardware
platforms and across drivers.

Since the patch is to big it is at the following link:

http://www.transvirtual.com/~jsimmons/blank.diff

Please note it also includes the patch I sent Linus earlier for fb.h. I
will remove that part once that patch goes in. Thank you.

 

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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:40 EST