]> git.hungrycats.org Git - linux/commit
[PATCH] Video Mode Handling - Delete entries from mode list
authorAntonino Daplas <adaplas@hotpop.com>
Mon, 23 Aug 2004 05:52:08 +0000 (22:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:52:08 +0000 (22:52 -0700)
commit7fbf08c28b53a1c60905cd149e630ae64583772a
treebcdf0559f1165457c124231c32b93251287d6b02
parentef49e03a36cf8a893cbf5d4544beea439d81012c
[PATCH] Video Mode Handling - Delete entries from mode list

This is optional but applying it should enhance fbdev functionality.

The patch allows removal of entries to the mode list.  This is done by setting
the var->activate field to FB_ACTIVATE_INV_MODE.  Only modes that are not in
use by any of the console or by the current var will be deleted.

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
drivers/video/fbmem.c
include/linux/fb.h