diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2007-05-08 03:40:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:33 -0400 |
commit | 34ed25f50b347c7e1ff78f9308e025ddd57c2f20 (patch) | |
tree | f6416c654f112c48063ed8071882f50088be3696 /drivers/video/svgalib.c | |
parent | 9a31f0f7679aeaf79c613feaa3f4170741ccb218 (diff) |
s3fb: updates
Move s3fb_get_tilemax to svgalib.c as svga_get_tilemax, because it reports
limitation of other code from svgalib (svga_settile, svga_tilecopy, ...)
Limit font width to 8 pixels in 4 bpp mode.
Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org>
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 'drivers/video/svgalib.c')
-rw-r--r-- | drivers/video/svgalib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/svgalib.c b/drivers/video/svgalib.c index 7fddc4a9b99b..079cdc911e48 100644 --- a/drivers/video/svgalib.c +++ b/drivers/video/svgalib.c | |||
@@ -342,6 +342,11 @@ void svga_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) | |||
342 | vga_wcrt(NULL, 0x0A, cs); /* set cursor start and enable it */ | 342 | vga_wcrt(NULL, 0x0A, cs); /* set cursor start and enable it */ |
343 | } | 343 | } |
344 | 344 | ||
345 | int svga_get_tilemax(struct fb_info *info) | ||
346 | { | ||
347 | return 256; | ||
348 | } | ||
349 | |||
345 | 350 | ||
346 | /* ------------------------------------------------------------------------- */ | 351 | /* ------------------------------------------------------------------------- */ |
347 | 352 | ||
@@ -623,6 +628,7 @@ EXPORT_SYMBOL(svga_tilecopy); | |||
623 | EXPORT_SYMBOL(svga_tilefill); | 628 | EXPORT_SYMBOL(svga_tilefill); |
624 | EXPORT_SYMBOL(svga_tileblit); | 629 | EXPORT_SYMBOL(svga_tileblit); |
625 | EXPORT_SYMBOL(svga_tilecursor); | 630 | EXPORT_SYMBOL(svga_tilecursor); |
631 | EXPORT_SYMBOL(svga_get_tilemax); | ||
626 | 632 | ||
627 | EXPORT_SYMBOL(svga_compute_pll); | 633 | EXPORT_SYMBOL(svga_compute_pll); |
628 | EXPORT_SYMBOL(svga_check_timings); | 634 | EXPORT_SYMBOL(svga_check_timings); |