[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45AB196B.7090409@develer.com>
Date: Mon, 15 Jan 2007 07:04:27 +0100
From: Bernardo Innocenti <bernie@...eler.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
CC: Linux Frame Buffer Device Development
<linux-fbdev-devel@...ts.sourceforge.net>,
lkml <linux-kernel@...r.kernel.org>, aleph <aleph@...eler.com>
Subject: Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual
memory
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 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 difference.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists