Re: [PATCH] Fix VT mode change vs. fbcon

From: James Simmons
Date: Mon Mar 01 2004 - 19:20:45 EST



> > How about calling resize_screen in vt.c instead in this function. This way
> > fbcon could reset the hardware state :-)
>
> Because I don't want to change the semantics in VT too much, the whole
> VT code is rather fragile and I want to avoid beeing invasive at this
> point and trigger all sort of funny side effects.

I have been pondering the code working out a clean method. Basically you
have two areas of concern with this matter. Both are in vt_ioctl.c
One in vt_ioctl for the case of KDSETMODE. The other place in the same
file, vt_ioctl.c, is function complete_change_console.

In functions involved in this are two functions. One is do_blank_screen.
Looking at it you could just break out a new function in vt_ioctl.c.
Now do_unblank_screen function is a bit trickier. It makes sense that
a unblank function is called. This is where we would also call other
functions to reset the display.




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/