* doubts
@ 2004-05-26 11:40 Manish RATHI
2004-05-28 3:44 ` doubts Lucas Correia Villa Real
0 siblings, 1 reply; 3+ messages in thread
From: Manish RATHI @ 2004-05-26 11:40 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: Rohit JAIN
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 610 bytes --]
Hi,
In franebuffer fb_info structure, there are 4 functions to be used by fbcon.c
these are:
(*updatevar)();
(*changevar)();
(*blank)();
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
-------------------------------------------------------
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_id149&alloc_id66&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: doubts
2004-05-26 11:40 doubts Manish RATHI
@ 2004-05-28 3:44 ` Lucas Correia Villa Real
2004-06-05 17:34 ` doubts Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Lucas Correia Villa Real @ 2004-05-28 3:44 UTC (permalink / raw)
To: linux-fbdev-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: doubts
2004-05-28 3:44 ` doubts Lucas Correia Villa Real
@ 2004-06-05 17:34 ` Geert Uytterhoeven
0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2004-06-05 17:34 UTC (permalink / raw)
To: Lucas Correia Villa Real; +Cc: Linux Frame Buffer Device Development
On Fri, 28 May 2004, Lucas Correia Villa Real wrote:
> On Wednesday 26 May 2004 08:40, Manish RATHI wrote:
> > (*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?
It's there so fbcon can resize the emulated text console based on the new
screen size. E.g. when switching from 640x480 to 1024x768 using fbset, the text
console will change from 80x30 to 128x48 (assuming a 8x16 font).
It's broken in 2.6, though (unless it got fixed while I was on holidays last
week :-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-05 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-26 11:40 doubts Manish RATHI
2004-05-28 3:44 ` doubts Lucas Correia Villa Real
2004-06-05 17:34 ` doubts Geert Uytterhoeven
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).