Re: m68k: trying accessing fb memory

Daniel Glöckner <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
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
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.