[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1175798570.5549.1.camel@daplas>
Date: Fri, 06 Apr 2007 02:42:50 +0800
From: "Antonino A. Daplas" <adaplas@...il.com>
To: Michael Trimarchi <trimarchi@...dalf.sssup.it>
Cc: linux-kernel@...r.kernel.org
Subject: Re: vfb module
On Thu, 2007-04-05 at 10:30 +0200, Michael Trimarchi wrote:
> Hi,
> I changed a little bit the vfb module to be used as a frame buffer in
> memory. I would like to use the mmap over the virtual framebuffer. I
> added a few line:
> I allocated the buffer using
> videomemory=(void *)__get_free_pages(GFP_KERNEL,
> get_order(PAGE_ALIGN(videomemorysize)));
>
> and fixed the framebuffer info structure:
>
> vfb_fix.smem_start = virt_to_phys(videomemory);
> vfb_fix.smem_len = videomemorysize;
>
> What is the virtual frame buffer meant for?
For testing, and some uses it as a skeleton for another driver.
Tony
-
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