linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* deferred IO
@ 2008-06-06  9:34 Christian Schoenebeck
  2008-06-06  9:40 ` Jaya Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Schoenebeck @ 2008-06-06  9:34 UTC (permalink / raw)
  To: linux-fbdev-devel

Hi!

Is it possible that the deferred IO implementation in kernel 2.6.22 is buggy? 
Or do I probably misunderstand the overall concept of the FB deferred IO 
mechanism?

I wrote a framebuffer driver for a LCD which is connected via USB. As the 
video memory of the LCD is not physically available to the system (thus not 
IO memory mapped) I registered a FB deferred IO calllback function which 
performs the job of sending the new screen information via USB to the LCD 
whenever someone modified the framebuffer memory.

Unfortunately this deferred IO callback function is only called once per 
process lifetime and not (as I expected it to be) each time the framebuffer 
is actually modified.

I implemented a proc file where I could actually see the framebuffer content 
at any time and placed a:

	printk(KERN_INFO "cuselcdfb_display_update %d\n", ++i);

line in the deferred io callback to see when and how often the deferred IO 
callback function is called. So I could check that a process actually wrote 
to the framebuffer, but the callback would only be triggered once.

Any clues?

Thanks for any comments!

CU
Christian

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-06 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06  9:34 deferred IO Christian Schoenebeck
2008-06-06  9:40 ` Jaya Kumar
2008-06-06 10:51   ` Christian Schoenebeck
2008-06-06 10:55     ` Jaya Kumar
2008-06-06 12:28       ` Christian Schoenebeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).