From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Michael Trimarchi <trimarchi@gandalf.sssup.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: vfb module
Date: Fri, 06 Apr 2007 02:42:50 +0800 [thread overview]
Message-ID: <1175798570.5549.1.camel@daplas> (raw)
In-Reply-To: <4614B388.7050002@gandalf.sssup.it>
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
next prev parent reply other threads:[~2007-04-05 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 8:30 Michael Trimarchi
2007-04-05 18:42 ` Antonino A. Daplas [this message]
2007-04-05 20:38 ` trimarchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1175798570.5549.1.camel@daplas \
--to=adaplas@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trimarchi@gandalf.sssup.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome