Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-02-06 Thread Bernardo Innocenti
Bernardo Innocenti wrote: I still couldn't solve my problem, but thanks for helping. The way you map memory in ps3fb_mmap() is basically the same. In my case, memory is allocated with __get_free_pages() instead of being at an absolute physical address, but I can't see how it could make any diff

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-01-14 Thread Bernardo Innocenti
Geert Uytterhoeven wrote: > It's known to work for the PS3 frame buffer device driver, which copies the > virtual frame buffer to the GPU on every vsync. Check out ps3fb_mmap() in > http://www.kernel.org/git/?p=linux/kernel/git/geoff/ps3-linux.git;a=blob_plain;f=drivers/video/ps3fb.c;hb=HEAD I st

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-01-14 Thread Geert Uytterhoeven
On Sun, 14 Jan 2007, Bernardo Innocenti wrote: > This is driving me crazy. I wrote this custom fb driver for an > organic LED display for an embedded ARM system. > > The display is connected trough an I2C bus, therefore the display > buffer is not memory mapped. > > Anyway, I want to support mma