[PATCH] fbcon: Add ability to save/restore graphics state
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 13 Dec 2005 06:17:16 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Dec 2005 06:31:17 +0000 (22:31 -0800)
commit4743484718e1d710321f24f8ef7d0124a48291b3
treefde7dc00a58aa4a326573018d844143ba07e0138
parent56f0d64de80733bda54d1cfa7ac0c736ab2de33b
[PATCH] fbcon: Add ability to save/restore graphics state

Add hooks to save and restore the graphics state.  These hooks are called in
fbcon_blank() when entering/leaving KD_GRAPHICS mode.  This is needed by
savagefb at least so it can cooperate with savage_dri and by cyblafb.

State save/restoration can be full or partial.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c
include/linux/fb.h