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: doubts
Date: Fri, 28 May 2004 00:44:24 -0300	[thread overview]
Message-ID: <200405280044.24185.lucasvr@gobolinux.org> (raw)
In-Reply-To: <000001c44316$487bf040$7c04b40a@dlh.st.com>

On Wednesday 26 May 2004 08:40, Manish RATHI wrote:
> Hi,
> In franebuffer  fb_info structure, there are 4 functions to be used by
> fbcon.c these are:

4? You asked for 3 functions :-)


> (*updatevar)();

This is a function called by fbcon.c when going to update a user defined part 
of the display, in order to pan/wrap; updatevar() usually sets the new 
driver's "var" xoffset and yoffset and then tells the video controller the 
new screen start address. 


> (*changevar)();

Oh, I didn't see any driver using that. In the case of fbcon_changevar, it 
just calls fbcon_setup (specifying not to show the logo again), which resets 
the framebuffer settings such as font and pan/wrap offsets. 

When one calls (*setvar)(), which modifies the display variable configuration, 
it checks for the existence of a non-null function pointer to changevar and 
if found, calls that function. I really don't know why a driver should need 
to restart things when changing var data. Could anyone help to clarify that?

> (*blank)();

This function does the screen blanking routine, not required to be implemented 
by the driver. There's a good explanation of it on skeletonfb.c.


> Could anybody tell me the logic of above functions. Although they are
> mentioned in pl110.c and vfb.c but only function header is given.
>
>
> Regards
> Manish

Cheers,
Lucas


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-05-28  3:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26 11:40 doubts Manish RATHI
2004-05-28  3:44 ` Lucas Correia Villa Real [this message]
2004-06-05 17:34   ` doubts Geert Uytterhoeven

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=200405280044.24185.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).