linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Manish RATHI <manish.rathi@st.com>,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: query (critical problem)
Date: Fri, 16 Jul 2004 07:07:43 +0800	[thread overview]
Message-ID: <200407160707.46619.adaplas@hotpop.com> (raw)
In-Reply-To: <004a01c46a64$af896ef0$7c04b40a@dlh.st.com>

On Thursday 15 July 2004 20:10, Manish RATHI wrote:
> Hi,
> I've ported linux on our chip using  linux kernel 2.4.20. On chip we have a
> display interface on which epson panel is attached. We've written a display
> driver using framebuffer driver as a upper layer.
>
> Problem with this driver is that due to framebuffer concept we don't know
> when data is updated in framebuffer as this is done by application.
>
> So we don't know when to transfer data from framebuffer to panel memory.
> how a driver can know this trigger.
>
> B'coz of this we have only one option left that is always transfer data
> to dif panel from fraembuffer irrespective of any trigger.
>
> This will create power problem.
>
> As i understand microwindows/qt or any graphics package call open, mmap
> from framebuffer. Whenever it draw a line it doesn't call any driver
> interface.
>
> Is there any solution?
> Is there any standard interface of application with driver which tell
> that data is to be updated from frmebuffer to panel memory?

You can try file read and write instead of mmap to access the framebuffer.
Otherwise, you can try trapping all accesses to the memory, but this wil
involve hacking kernel internals.

Tony




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

      reply	other threads:[~2004-07-15 23:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 12:10 query (critical problem) Manish RATHI
2004-07-15 23:07 ` Antonino A. Daplas [this message]

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=200407160707.46619.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=manish.rathi@st.com \
    /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 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).