On Thu, Dec 13, 2012 at 07:30:54PM +0100, angelo wrote:
> yes, should be quite easy to do as you mentioned, but requires minimal
> changes in the kernel, and i must keep the unofficial changes stored
> here locally with the current tree.

I don't see your problem with that. You are using a two years old
kernel. There is no point in trying to stay close to the official
release.

> For this reasons, my idea is to setup 2 or 3 ioctl's at driver level:
> 
> - one to get memory address (direct memory map)
> - one to update all the screen
> - one to update a specific surface area
> 
> What do you think is better ?

Are you asking me if I favor a proprietary hack over the clean way?

As Gavin already pointed out, in cases like yours a popular solution is
to use a timer to periodically send updates to the LCD. If you can call
IOCTLs to update the screen, you might as well just use write instead
of mmap.

  Daniel
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to