linux-sg2042/drivers/video/console
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
..
Kconfig Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
Makefile Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
bitblit.c [PATCH] fbcon: Console Rotation - Prepare fbcon for console rotation 2005-11-09 07:56:34 -08:00
dummycon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon.c [PATCH] fbdev: fix switch to KD_TEXT, enhanced version 2005-12-12 22:31:17 -08:00
fbcon.h [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon_ccw.c [PATCH] Console rotation fixes 2005-11-28 14:42:23 -08:00
fbcon_cw.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon_rotate.c [PATCH] fbcon: Console Rotation - Add support for 270-degree rotation 2005-11-09 07:56:34 -08:00
fbcon_rotate.h [PATCH] Console rotation fixes 2005-11-28 14:42:23 -08:00
fbcon_ud.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
font_6x11.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
mdacon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
newport_con.c Fix build error caused by missmatching duplicate declaration. 2005-10-29 19:32:31 +01:00
prom.uni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
promcon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sticon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.c [PARISC] Reorganize sticore probe routine to be a little less convoluted 2005-10-21 22:41:49 -04:00
tileblit.c [PATCH] fbcon: Console Rotation - Prepare fbcon for console rotation 2005-11-09 07:56:34 -08:00
vgacon.c [PATCH] vgacon: Fix usage of stale height value on vc initialization 2005-11-22 09:13:43 -08:00