[Top] [All Lists]

Re: XFree86-FBDev and /dev/fb0

To: Ralf Baechle <>
Subject: Re: XFree86-FBDev and /dev/fb0
From: "William J. Earl" <>
Date: Wed, 5 Jan 2000 16:55:22 -0800 (PST)
Cc: Andy Isaacson <>,
In-reply-to: <>
References: <> <> <> <>
Ralf Baechle writes:
 > On Wed, Jan 05, 2000 at 11:49:22AM -0500, Andy Isaacson wrote:
 > > > I have kernel with framebuffer (when I boot, I see linux-sgi.logo - 
 > > > 2.2.1)
 > > > 
 > > > I have no /dev/fb0.
 > > 
 > > You probably need to create the device node, then.  Look at the man
 > > page for mknod, and Documentation/devices.txt in your kernel source
 > > tree, for further info.
 > That alone won't help.
 > A system with the XL graphics will never have a real working framebuffer.

     Since the real graphics framebuffer is in memory which is not addressable
by the processor, the only way to fake a CPU-addressable framebuffer is
to reserve a chunk of main memory, and then DMA the contents into the
real framebuffer when the CPU-addressable framebuffer is changed (or
every vertical refresh interval, if there is no way to tell when the buffer
changes).  You could probably play with the PTE valid and mod bits to detect
when pages are changed.  It would in any case be relatively inefficient
compared to using the graphics pipeline as intended, since uncached writes
to the graphics pipeline are pretty cheap (better than cached or uncached
writes to large areas of main memory).

<Prev in Thread] Current Thread [Next in Thread>