aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/font.h
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 00:39:09 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:30 -0700
commitbf26ad72a60c0009a99179b449a43daa6bf4b4f6 (patch)
tree55ba5c443aa0e0aa97e692f4be29c582356fd056 /include/linux/font.h
parentfbdev: consolidate common drawing functions into a header file (diff)
downloadlinux-dev-bf26ad72a60c0009a99179b449a43daa6bf4b4f6.tar.xz
linux-dev-bf26ad72a60c0009a99179b449a43daa6bf4b4f6.zip
fbdev: advertise limitation of drawing engine
A few drivers are not capable of blitting rectangles of any dimension. vga16fb can only blit 8-pixel wide rectangles, while s3fb (in tileblitting mode) can only blit 8x16 rectangles. For example, loading a 12x22 font in vga16fb will result in a corrupt display. Advertise this limitation/capability in info->pixmap.blit_x and blit_y. These fields are 32-bit arrays (font max is 32x32 only), ie, if bit 7 is set, then width/height of 7+1 is supported. 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>
Diffstat (limited to 'include/linux/font.h')
0 files changed, 0 insertions, 0 deletions