Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d60d2d8a423be91c5ad1a745c4e9dda9cea1b3c5 Commit: d60d2d8a423be91c5ad1a745c4e9dda9cea1b3c5 Parent: 2d2699d984924890f6dac8cf51c3b6311f56816c Author: Antonino A. Daplas <[EMAIL PROTECTED]> AuthorDate: Tue May 8 00:39:12 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue May 8 11:15:31 2007 -0700
vga16fb: restrict to blit rectangles with widths of multiples of 8 pixels Advertise that vga16fb can only handle widths that are 8-pixel-multiple only (software limitation). To ensure that a legal font is available, SELECT an 8x16 font in Kconfig. Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- drivers/video/Kconfig | 1 + drivers/video/vga16fb.c | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 75ec7d1..51c4b25 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -519,6 +519,7 @@ config FB_VGA16 select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT select VGASTATE + select FONT_8x16 if FRAMEBUFFER_CONSOLE help This is the frame buffer device driver for VGA 16 color graphic cards. Say Y if you have such a card. diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c index ec4c7dc..6c580a0 100644 --- a/drivers/video/vga16fb.c +++ b/drivers/video/vga16fb.c @@ -1378,6 +1378,8 @@ static int __init vga16fb_probe(struct platform_device *dev) info->fbops = &vga16fb_ops; info->var = vga16fb_defined; info->fix = vga16fb_fix; + /* supports 8-pixel wide blit rectangles only */ + info->pixmap.blit_x = 1 << (8 - 1); info->flags = FBINFO_FLAG_DEFAULT | FBINFO_HWACCEL_YPAN; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html