linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to know that a refresh is required ?
@ 2010-03-09  9:50 fuhz
  2010-03-09 10:17 ` Jaya Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: fuhz @ 2010-03-09  9:50 UTC (permalink / raw)
  To: linux-fbdev

Hi !

I am currently writing a FrameBuffer driver for a custom embedded board.
I already read some documentation, including skeletonfb.c and vfb.c.

There are still some details that I don't really understand.

My board has a LCD controller which has its own internal buffer.
I am using DMA transfer to modify this buffer when I need to update the screen.

Programs using the framebuffer drivers (ie. gui apis) can write anytime to the
framebuffer internal buffer trough nmap.

My question : how do I know when to refresh my screen ?


Currently, I am thinking about these solutions :
- endless DMA transfer : the screen is always refresh (consumes power)
- timer based solution : refresh the screen every n milliseconds (latency)

I am waiting for your advices ! Are there other solutions ?

Thanks for all.


Best regards.

fuhz


PS:
I need to run GTK on an embedded board. So I guess writing a FrameBuffer driver
is not a bad choice.

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

* Re: How to know that a refresh is required ?
  2010-03-09  9:50 How to know that a refresh is required ? fuhz
@ 2010-03-09 10:17 ` Jaya Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Jaya Kumar @ 2010-03-09 10:17 UTC (permalink / raw)
  To: linux-fbdev

On Tue, Mar 9, 2010 at 5:50 PM,  <fuhz@free.fr> wrote:
> My board has a LCD controller which has its own internal buffer.

Cool.

> I need to run GTK on an embedded board. So I guess writing a FrameBuffer driver
> is not a bad choice.

Out of curiosity, which LCD controller is it and which embedded board
are you using? There should normally already be a driver for it in
Linux.

Best regards,
jaya

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

end of thread, other threads:[~2010-03-09 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09  9:50 How to know that a refresh is required ? fuhz
2010-03-09 10:17 ` Jaya Kumar

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).