linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Correia Villa Real <lucasvr@gobolinux.org>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Screen Refresh
Date: Wed, 5 May 2004 12:46:11 -0300	[thread overview]
Message-ID: <200405051246.11464.lucasvr@gobolinux.org> (raw)
In-Reply-To: <20040505140257.GI29503@lug-owl.de>

On Wednesday 05 May 2004 11:02, Jan-Benedict Glaw wrote:
> On Wed, 2004-05-05 10:47:00 -0300, Lucas Correia Villa Real
> <lucasvr@gobolinux.org>
>
> wrote in message <200405051047.00127.lucasvr@gobolinux.org>:
> > I'm writing a device driver for a monochrome LCD display managed by a
> > controller that will be plugged into the CPU through a SPI, that is, I
> > cannot directly memory-map it's address, since the communication will be
> > done via a serial interface.
>
> So I see two ways.
>
> 	If you only want to be able to output text, then you'd register
> as a console device. You'll then get write accesses, which you can then
> promote to real hardware.
>
> 	If you really want to provide a graphical display, you'll need
> something like two buffers (one the kernel writes to, probably a 2nd one
> to store the "current" image to only send down the changed pixels).
> That'll come along with some timed function - not nice, but may work.
>
> In theory, you'd try to not actually provide a framebuffer (memory), but
> to simply give pointers to all those accelerated functions. If you've
> got enough luck, you'll only see these functions called, so that you can
> do graphics with merely no overhead of polling the whole memory...

Hmm, that's a good idea! I'll need to have graphical display, so I think I'll 
start by writing a first release using this double buffering technique, and 
later try to play with accelerated functions.

Thanks for the help!
Lucas


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3

  reply	other threads:[~2004-05-05 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 13:47 Screen Refresh Lucas Correia Villa Real
2004-05-05 14:02 ` Jan-Benedict Glaw
2004-05-05 15:46   ` Lucas Correia Villa Real [this message]
2004-05-15 13:58 ` [ PATCH-LINK ] fb accel capabilities - take 2 David Eger

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=200405051246.11464.lucasvr@gobolinux.org \
    --to=lucasvr@gobolinux.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).