lkml.org 
[lkml]   [2001]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH] fbdev blank cleanup

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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.044 / U:1.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site