Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139298
b: refs/heads/master
c: 04645fc
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed Apr 1, 2009
1 parent 0744d69 commit 2be775e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f682fae611df642acfb99b5f2fd665f001cd253
refs/heads/master: 04645fc337eef283887d3b1204017f1860ed2ff7
9 changes: 1 addition & 8 deletions trunk/drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ config FB_VT8623
VIA VT8623 [Apollo CLE266] chipset.

config FB_TRIDENT
tristate "Trident support"
tristate "Trident/CyberXXX/CyberBlade support"
depends on FB && PCI
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
Expand All @@ -1617,13 +1617,6 @@ config FB_TRIDENT
To compile this driver as a module, choose M here: the
module will be called tridentfb.

config FB_TRIDENT_ACCEL
bool "Trident Acceleration functions (EXPERIMENTAL)"
depends on FB_TRIDENT && EXPERIMENTAL
---help---
This will compile the Trident frame buffer device with
acceleration functions.

config FB_ARK
tristate "ARK 2000PV support"
depends on FB && PCI
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/video/tridentfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ static void tgui_copy_rect(struct tridentfb_par *par,
/*
* Accel functions called by the upper layers
*/
#ifdef CONFIG_FB_TRIDENT_ACCEL
static void tridentfb_fillrect(struct fb_info *info,
const struct fb_fillrect *fr)
{
Expand Down Expand Up @@ -565,11 +564,6 @@ static int tridentfb_sync(struct fb_info *info)
par->wait_engine(par);
return 0;
}
#else
#define tridentfb_fillrect cfb_fillrect
#define tridentfb_copyarea cfb_copyarea
#define tridentfb_imageblit cfb_imageblit
#endif /* CONFIG_FB_TRIDENT_ACCEL */

/*
* Hardware access functions
Expand Down Expand Up @@ -1333,9 +1327,7 @@ static struct fb_ops tridentfb_ops = {
.fb_fillrect = tridentfb_fillrect,
.fb_copyarea = tridentfb_copyarea,
.fb_imageblit = tridentfb_imageblit,
#ifdef CONFIG_FB_TRIDENT_ACCEL
.fb_sync = tridentfb_sync,
#endif
};

static int __devinit trident_pci_probe(struct pci_dev *dev,
Expand All @@ -1359,10 +1351,6 @@ static int __devinit trident_pci_probe(struct pci_dev *dev,

chip_id = id->device;

#ifndef CONFIG_FB_TRIDENT_ACCEL
noaccel = 1;
#endif

/* If PCI id is 0x9660 then further detect chip type */

if (chip_id == TGUI9660) {
Expand Down

0 comments on commit 2be775e

Please sign in to comment.