aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/tridentfb.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2009-03-31 18:25:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 11:59:33 -0400
commitddb53d48da5b0e691f35e703ac29118747f86c99 (patch)
treebdf0f4a6f3e74a87e5b2ccb9530f708eed6258d2 /drivers/video/tridentfb.c
parentec549a0fdc32171b26677f1ef0b5309faa743362 (diff)
fbdev: remove cyblafb driver
A tridentfb driver has all the functionality of the cyblafb driver without the bugs of the latter. Changes to the tridentfb driver: - FBINFO_READS_FAST added to the tridentfb. The cyblafb used a blitter for scrolling which is faster than color expansion on Cyberblade chipsets. The blitter is slower on a discrete Blade3D core. Use the blitter for scrolling in the tridentfb only for integrated Blade3D cores. Now, scrolling speed is about equal for the tridentfb and the cyblafb. - a copyright notice addition is done on request of Jani Monoses (the first author of the tridentfb). Tested on AGP Blade3D card and PCChips M787CLR motherboard: VIA C3 cpu + VT8601 north bridge (aka Cyberblade/i1). Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: "Jani Monoses" <jani@ubuntu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/tridentfb.c')
-rw-r--r--drivers/video/tridentfb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c
index c5369ba9485a..bc692a15e2ad 100644
--- a/drivers/video/tridentfb.c
+++ b/drivers/video/tridentfb.c
@@ -2,7 +2,7 @@
2 * Frame buffer driver for Trident TGUI, Blade and Image series 2 * Frame buffer driver for Trident TGUI, Blade and Image series
3 * 3 *
4 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro> 4 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro>
5 * 5 * Copyright 2009 Krzysztof Helt <krzysztof.h1@wp.pl>
6 * 6 *
7 * CREDITS:(in order of appearance) 7 * CREDITS:(in order of appearance)
8 * skeletonfb.c by Geert Uytterhoeven and other fb code in drivers/video 8 * skeletonfb.c by Geert Uytterhoeven and other fb code in drivers/video
@@ -1490,6 +1490,9 @@ static int __devinit trident_pci_probe(struct pci_dev *dev,
1490 } else 1490 } else
1491 info->flags |= FBINFO_HWACCEL_DISABLED; 1491 info->flags |= FBINFO_HWACCEL_DISABLED;
1492 1492
1493 if (is_blade(chip_id) && chip_id != BLADE3D)
1494 info->flags |= FBINFO_READS_FAST;
1495
1493 info->pixmap.addr = kmalloc(4096, GFP_KERNEL); 1496 info->pixmap.addr = kmalloc(4096, GFP_KERNEL);
1494 if (!info->pixmap.addr) { 1497 if (!info->pixmap.addr) {
1495 err = -ENOMEM; 1498 err = -ENOMEM;
@@ -1664,4 +1667,5 @@ module_exit(tridentfb_exit);
1664MODULE_AUTHOR("Jani Monoses <jani@iv.ro>"); 1667MODULE_AUTHOR("Jani Monoses <jani@iv.ro>");
1665MODULE_DESCRIPTION("Framebuffer driver for Trident cards"); 1668MODULE_DESCRIPTION("Framebuffer driver for Trident cards");
1666MODULE_LICENSE("GPL"); 1669MODULE_LICENSE("GPL");
1670MODULE_ALIAS("cyblafb");
1667 1671