android_kernel_xiaomi_sdm845/drivers/video/console
Antonino A. Daplas 5428b04405 [PATCH] Detaching fbcon: add capability to attach/detach fbcon
Add the ability to detach and attach the framebuffer console to and from the
vt layer.  This is done by echo'ing any value to sysfs attributes located in
class/graphics/fbcon.  The two attributes are:

      attach - bind fbcon to the vt layer
      detach - unbind fbcon from the vt layer

Once fbcon is detached from the vt layer, fbcon can be unloaded if compiled as
a module.  This feature is quite useful for developers who work on the
framebuffer or console subsystem.  This is also useful for users who want to
go to text mode or graphics mode without having to reboot.

Directly unloading the fbcon module is not possible because the vt layer
increments the module reference count for all bound consoles.  Detaching fbcon
decrements the module reference count to zero so unloading becomes possible.

Detaching fbcon may interfere with X and/or DRM.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:32 -07:00
..
bitblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
dummycon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon_ccw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_cw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.h [PATCH] fbcon: Code cleanups 2006-01-10 08:01:51 -08:00
fbcon_ud.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon.c [PATCH] Detaching fbcon: add capability to attach/detach fbcon 2006-06-26 09:58:32 -07:00
fbcon.h [PATCH] Detaching fbcon: sdd sysfs class device entry for fbcon 2006-06-26 09:58:32 -07: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 [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
Kconfig [PATCH] vgacon: Add support for soft scrollback 2006-03-27 08:44:55 -08:00
Makefile Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
mdacon.c [PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use 2006-06-22 15:05:58 -07:00
newport_con.c [PATCH] sparse: Fix warnings in newport driver about non-static functions 2006-03-27 08:44:57 -08: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] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
sticon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
tileblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
vgacon.c [PATCH] Detaching fbcon: fix vgacon to allow retaking of the console 2006-06-26 09:58:32 -07:00