fbcon: font setting should check limitation of driver
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:39:11 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:31 +0000 (11:15 -0700)
commit2d2699d984924890f6dac8cf51c3b6311f56816c
treebd8f50392ac6918589c6069177b89172f2263916
parentbf26ad72a60c0009a99179b449a43daa6bf4b4f6
fbcon: font setting should check limitation of driver

fbcon_set_font() will now check if the new font dimensions can be drawn by the
driver (by checking pixmap.blit_x and blit_y).  Similarly, add 2 new
parameters to get_default_font(), font_w and font_h, to further aid in the
font selection process.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fbcon.c
drivers/video/console/fonts.c
drivers/video/console/sticore.c
include/linux/font.h