All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <cuse@users.sourceforge.net>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: deferred IO
Date: Fri, 6 Jun 2008 11:34:13 +0200	[thread overview]
Message-ID: <200806061134.13496.cuse@users.sourceforge.net> (raw)

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

             reply	other threads:[~2008-06-06  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06  9:34 Christian Schoenebeck [this message]
2008-06-06  9:40 ` deferred IO Jaya Kumar
2008-06-06 10:51   ` Christian Schoenebeck
2008-06-06 10:55     ` Jaya Kumar
2008-06-06 12:28       ` Christian Schoenebeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806061134.13496.cuse@users.sourceforge.net \
    --to=cuse@users.sourceforge.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.