Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54939
b: refs/heads/master
c: 8db5166
h: refs/heads/master
i:
  54937: 10c6679
  54935: 52378e8
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent f59c6d7 commit a4b148c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d60d2d8a423be91c5ad1a745c4e9dda9cea1b3c5
refs/heads/master: 8db51668f5ef6ae31ed4e4f0c6e2976a190dfa11
1 change: 1 addition & 0 deletions trunk/drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,7 @@ config FB_S3
select FB_TILEBLITTING
select FB_SVGALIB
select VGASTATE
select FONT_8x16 if FRAMEBUFFER_CONSOLE
---help---
Driver for graphics boards with S3 Trio / S3 Virge chip.

Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/video/s3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ static int s3fb_set_par(struct fb_info *info)
info->flags &= ~FBINFO_MISC_TILEBLITTING;
info->tileops = NULL;

/* supports blit rectangles of any dimension */
info->pixmap.blit_x = ~(u32)0;
info->pixmap.blit_y = ~(u32)0;
offset_value = (info->var.xres_virtual * bpp) / 64;
screen_size = info->var.yres_virtual * info->fix.line_length;
} else {
Expand All @@ -457,6 +460,9 @@ static int s3fb_set_par(struct fb_info *info)

info->flags |= FBINFO_MISC_TILEBLITTING;
info->tileops = fasttext ? &s3fb_fast_tile_ops : &s3fb_tile_ops;
/* supports 8x16 tiles only */
info->pixmap.blit_x = 1 << (8 - 1);
info->pixmap.blit_y = 1 << (16 - 1);

offset_value = info->var.xres_virtual / 16;
screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64;
Expand Down

0 comments on commit a4b148c

Please sign in to comment.