Thread (4 messages) 4 messages, 2 authors, 2007-05-25

Re: unregister_framebuffer() and cursor

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2007-05-04 09:42:10

On Fri, 2007-05-04 at 10:50 +0200, Geert Uytterhoeven wrote:
	Hi,

It looks like unregister_framebuffer() doesn't cause fbcon_del_cursor_timer()
to be called.

Hence if cursor_timer_handler() runs, it will try to schedule work on
fb_info.queue, which is no longer valid, and queue_work() will BUG_ON().

Or am I missing something?
The console cursor is not part of fbdev.  fbcon_del_cursor_timer() is
done in fbcon_exit() in fbcon.c. You cannot (or, rather, should not)
call unregister_framebuffer() unless fbcon unbinds the underlying
driver.

Tony  



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help