* query (critical problem)
@ 2004-07-15 12:10 Manish RATHI
2004-07-15 23:07 ` Antonino A. Daplas
0 siblings, 1 reply; 2+ messages in thread
From: Manish RATHI @ 2004-07-15 12:10 UTC (permalink / raw)
To: linux-fbdev-devel
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?
Thanks
Regards
Manish
-------------------------------------------------------
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_idG21&alloc_id\x10040&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: query (critical problem)
2004-07-15 12:10 query (critical problem) Manish RATHI
@ 2004-07-15 23:07 ` Antonino A. Daplas
0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2004-07-15 23:07 UTC (permalink / raw)
To: Manish RATHI, linux-fbdev-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-15 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 12:10 query (critical problem) Manish RATHI
2004-07-15 23:07 ` Antonino A. Daplas
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).