Thread (3 messages) flat view 3 messages, 3 authors, 2004-06-05
  • doubts · Manish RATHI <hidden> · 2004-05-26
  • Re: doubts · Lucas Correia Villa Real <hidden> · 2004-05-28
  • Re: doubts · Geert Uytterhoeven <geert@linux-m68k.org> · 2004-06-05

Re: doubts

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-06-05 17:36:03

On Fri, 28 May 2004, Lucas Correia Villa Real wrote:
On Wednesday 26 May 2004 08:40, Manish RATHI wrote:
quoted
(*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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help