Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236114
b: refs/heads/master
c: 0089bf1
h: refs/heads/master
v: v3
  • Loading branch information
Javier Martinez Canillas authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent 6342101 commit 39d7798
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 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: c73d0d55069b94630338bfeeae6d8149770e0451
refs/heads/master: 0089bf1fb1e524fba4f86e98a9af7f03a0a8c932
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/XGI_accel.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ int fbcon_XGI_sync(struct fb_info *info);

extern struct video_info xgi_video_info;

extern int XGIfb_accel;
void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
void fbcon_XGI_copyarea(struct fb_info *info, const struct fb_copyarea *area);

Expand Down
17 changes: 1 addition & 16 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#include "XGI_main.h"
#include "vb_util.h"

int XGIfb_accel = 0;

#define Index_CR_GPIO_Reg1 0x48
#define Index_CR_GPIO_Reg2 0x49
#define Index_CR_GPIO_Reg3 0x4a
Expand Down Expand Up @@ -1190,10 +1188,6 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive,
xgi_video_info.video_linelength = info->var.xres_virtual
* (xgi_video_info.video_bpp >> 3);
xgi_video_info.accel = 0;
if (XGIfb_accel) {
xgi_video_info.accel = (var->accel_flags
& FB_ACCELF_TEXT) ? -1 : 0;
}
switch (xgi_video_info.video_bpp) {
case 8:
xgi_video_info.DstColor = 0x0000;
Expand Down Expand Up @@ -2856,8 +2850,6 @@ XGIINITSTATIC int __init XGIfb_setup(char *options)
printk(KERN_INFO "XGIfb: Illegal pdc parameter\n");
XGIfb_pdc = 0;
}
} else if (!strncmp(this_opt, "noaccel", 7)) {
XGIfb_accel = 0;
} else if (!strncmp(this_opt, "noypan", 6)) {
XGIfb_ypan = 0;
} else if (!strncmp(this_opt, "userom:", 7)) {
Expand All @@ -2872,11 +2864,9 @@ XGIINITSTATIC int __init XGIfb_setup(char *options)
/* TW: Acceleration only with MMIO mode */
if ((XGIfb_queuemode != -1) && (XGIfb_queuemode != MMIO_CMD)) {
XGIfb_ypan = 0;
XGIfb_accel = 0;
}
/* TW: Panning only with acceleration */
if (XGIfb_accel == 0)
XGIfb_ypan = 0;
XGIfb_ypan = 0;

}
printk("\nxgifb: outa xgifb_setup 3450");
Expand Down Expand Up @@ -3370,11 +3360,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
}

xgi_video_info.accel = 0;
if (XGIfb_accel) {
xgi_video_info.accel = -1;
default_var.accel_flags |= FB_ACCELF_TEXT;
XGIfb_initaccel();
}

fb_info->flags = FBINFO_FLAG_DEFAULT;
fb_info->var = default_var;
Expand Down

0 comments on commit 39d7798

Please sign in to comment.