mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Cc: "Jani Monoses" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ec549a0fdc
commit
ddb53d48da
13 changed files with 7 additions and 2344 deletions
|
|
@ -1597,30 +1597,6 @@ config FB_VT8623
|
|||
Driver for CastleRock integrated graphics core in the
|
||||
VIA VT8623 [Apollo CLE266] chipset.
|
||||
|
||||
config FB_CYBLA
|
||||
tristate "Cyberblade/i1 support"
|
||||
depends on FB && PCI && X86_32 && !64BIT
|
||||
select FB_CFB_IMAGEBLIT
|
||||
---help---
|
||||
This driver is supposed to support the Trident Cyberblade/i1
|
||||
graphics core integrated in the VIA VT8601A North Bridge,
|
||||
also known as VIA Apollo PLE133.
|
||||
|
||||
Status:
|
||||
- Developed, tested and working on EPIA 5000 and EPIA 800.
|
||||
- Does work reliable on all systems with CRT/LCD connected to
|
||||
normal VGA ports.
|
||||
- Should work on systems that do use the internal LCD port, but
|
||||
this is absolutely not tested.
|
||||
|
||||
Character imageblit, copyarea and rectangle fill are hw accelerated,
|
||||
ypan scrolling is used by default.
|
||||
|
||||
Please do read <file:Documentation/fb/cyblafb/*>.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called cyblafb.
|
||||
|
||||
config FB_TRIDENT
|
||||
tristate "Trident support"
|
||||
depends on FB && PCI
|
||||
|
|
@ -1633,8 +1609,8 @@ config FB_TRIDENT
|
|||
and Blade XP.
|
||||
There are also integrated versions of these chips called CyberXXXX,
|
||||
CyberImage or CyberBlade. These chips are mostly found in laptops
|
||||
but also on some motherboards. For more information, read
|
||||
<file:Documentation/fb/tridentfb.txt>
|
||||
but also on some motherboards including early VIA EPIA motherboards.
|
||||
For more information, read <file:Documentation/fb/tridentfb.txt>
|
||||
|
||||
Say Y if you have such a graphics board.
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,7 @@
|
|||
* Frame buffer driver for Trident TGUI, Blade and Image series
|
||||
*
|
||||
* Copyright 2001, 2002 - Jani Monoses <jani@iv.ro>
|
||||
*
|
||||
* Copyright 2009 Krzysztof Helt <krzysztof.h1@wp.pl>
|
||||
*
|
||||
* CREDITS:(in order of appearance)
|
||||
* 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,
|
|||
} else
|
||||
info->flags |= FBINFO_HWACCEL_DISABLED;
|
||||
|
||||
if (is_blade(chip_id) && chip_id != BLADE3D)
|
||||
info->flags |= FBINFO_READS_FAST;
|
||||
|
||||
info->pixmap.addr = kmalloc(4096, GFP_KERNEL);
|
||||
if (!info->pixmap.addr) {
|
||||
err = -ENOMEM;
|
||||
|
|
@ -1664,4 +1667,5 @@ module_exit(tridentfb_exit);
|
|||
MODULE_AUTHOR("Jani Monoses <[email protected]>");
|
||||
MODULE_DESCRIPTION("Framebuffer driver for Trident cards");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("cyblafb");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue