mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* vfb module
@ 2007-04-05  8:30 Michael Trimarchi
  2007-04-05 18:42 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Trimarchi @ 2007-04-05  8:30 UTC (permalink / raw)
  To: linux-kernel

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?

Regards Michael


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-05 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-05  8:30 vfb module Michael Trimarchi
2007-04-05 18:42 ` Antonino A. Daplas
2007-04-05 20:38   ` trimarchi

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