Files
kernel/include/linux
Knut Petersen 39942fd8ff [PATCH] fbdev: fix switch to KD_TEXT, enhanced version
Every framebuffer driver relies on the assumption that the set_par()
function of the driver is called before drawing functions and other
functions dependent on the hardware state are executed.

Whenever you switch from X to a framebuffer console for the very first
time, there is a chance that a broken X system has _not_ set the mode to
KD_GRAPHICS, thus the vt and framebuffer code executes a screen redraw and
several other functions before a set_par() is executed.  This is believed
to be not a bug of linux but a bug of X/xdm.  At least some X releases used
by SuSE and Debian show this behaviour.

There was a 2nd case, but that has been fixed by Antonino Daplas on
10-dec-2005.

This patch allows drivers to set a flag to inform fbcon_switch() that they
prefer a set_par() call on every console switch, working around the
problems caused by the broken X releases.

The flag will be used by the next release of cyblafb and might help other
drivers that assume a hardware state different to the one used by X.

As the default behaviour does not change, this patch should be acceptable
to everybody.

Signed-off-by: Knut Petersen <Knut_Petersen@t-online.de>
Acked-by: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-12 22:31:17 -08:00
..
2005-11-28 21:00:29 +00:00
2005-11-13 18:14:17 -08:00
2005-10-22 14:27:05 -04:00
2005-10-28 08:16:49 -07:00
2005-10-04 13:22:01 -07:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-11-05 21:00:02 -05:00
2005-11-13 18:14:10 -08:00
2005-11-09 07:55:59 -08:00
2005-10-30 17:37:32 -08:00
2005-11-10 02:26:41 +01:00
2005-11-22 19:39:30 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-08 17:14:08 +01:00
2005-11-08 09:40:47 -08:00
2005-11-07 07:53:41 -08:00
2005-11-07 14:18:56 +01:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:32 -08:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:17 -08:00
2005-11-14 14:14:16 -05:00
2005-12-12 08:57:43 -08:00
2005-10-28 08:16:47 -07:00
2005-11-28 14:42:23 -08:00
2005-11-07 18:18:11 -08:00
2005-11-09 07:56:00 -08:00
2005-11-13 18:14:12 -08:00
2005-12-12 08:57:45 -08:00
2005-11-13 18:14:15 -08:00
2005-11-07 07:54:09 -08:00
2005-11-07 07:53:42 -08:00
2005-11-07 07:53:39 -08:00
2005-11-06 12:32:31 -06:00
2005-10-28 08:16:47 -07:00
2005-11-07 07:53:46 -08:00
2005-10-30 11:14:39 +11:00
2005-11-07 07:53:41 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2005-10-30 17:37:19 -08:00
2005-11-20 21:25:15 -08:00
2005-10-30 17:37:20 -08:00
2005-12-05 13:42:06 -08:00
2005-11-10 17:14:59 -08:00
2005-10-30 17:37:32 -08:00
2005-12-12 08:57:42 -08:00
2005-10-30 17:37:18 -08:00
2005-10-28 08:16:46 -07:00
2005-10-28 08:16:49 -07:00
2005-11-23 23:04:28 -08:00
2005-10-29 21:40:35 -07:00
2005-11-07 07:53:41 -08:00