Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Andy Isaacson <adisaacs@mr-happy.com>
To: linux@cthulhu.engr.sgi.com
Subject: Re: XFree86-FBDev and /dev/fb0
Date: Wed, 5 Jan 2000 20:17:19 -0500	[thread overview]
Message-ID: <20000105201719.A16821@mr-happy.com> (raw)
In-Reply-To: <14451.59386.542889.13018@liveoak.engr.sgi.com>

On Wed, Jan 05, 2000 at 04:55:22PM -0800, William J. Earl wrote:
> Ralf Baechle writes:
>  > 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).

XFree86 has builtin support for this mode of operation in the latest
development snapshot (3.9.17).  They call it ShadowFB.  Of course that
would only work in X, not on console.  Apparently it's fairly easy to
write a driver that supports ShadowFB; all you have to be able to do
is update a rectangular area of the screen on demand.

-andy
-- 
Andy Isaacson  http://web.mr-happy.com/~adisaacs/   Fight Spam, join CAUCE:
adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu   www.cauce.org

  reply	other threads:[~2000-01-06  1:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-04 21:40 XFree86-FBDev and /dev/fb0 Jiri Kastner jr.
2000-01-04 21:56 ` Eric Kimminau
2000-01-05 15:06   ` Jiri Kastner jr.
2000-01-05 16:49     ` Andy Isaacson
2000-01-06  0:37       ` Ralf Baechle
2000-01-06  0:55         ` William J. Earl
2000-01-06  1:17           ` Andy Isaacson [this message]
2000-01-06  1:27             ` Ulf Carlsson
2000-01-06  2:24               ` Andy Isaacson
2000-01-27  4:22               ` M. Adam Kendall

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=20000105201719.A16821@mr-happy.com \
    --to=adisaacs@mr-happy.com \
    --cc=linux@cthulhu.engr.sgi.com \
    /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