summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/Kconfig1
-rw-r--r--drivers/video/vga16fb.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 75ec7d155da..51c4b25dad2 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 ec4c7dc54a6..6c580a02b82 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;