Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30287
b: refs/heads/master
c: 7914cb2
h: refs/heads/master
i:
  30285: f483131
  30283: cbff93c
  30279: 3046d79
  30271: 9144775
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jun 26, 2006
1 parent cf0a154 commit 67ecc91
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 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: 58221097a8d8aa2151a70cbf749977998bb3d815
refs/heads/master: 7914cb27eebed4868bac01a28f550ea966fb422e
14 changes: 13 additions & 1 deletion trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,14 @@ static int atyfb_set_par(struct fb_info *info)

par->accel_flags = var->accel_flags; /* hack */

if (var->accel_flags) {
info->fbops->fb_sync = atyfb_sync;
info->flags &= ~FBINFO_HWACCEL_DISABLED;
} else {
info->fbops->fb_sync = NULL;
info->flags |= FBINFO_HWACCEL_DISABLED;
}

if (par->blitter_may_be_busy)
wait_for_idle(par);

Expand Down Expand Up @@ -2604,7 +2612,11 @@ static int __init aty_init(struct fb_info *info, const char *name)

info->fbops = &atyfb_ops;
info->pseudo_palette = pseudo_palette;
info->flags = FBINFO_FLAG_DEFAULT;
info->flags = FBINFO_DEFAULT |
FBINFO_HWACCEL_IMAGEBLIT |
FBINFO_HWACCEL_FILLRECT |
FBINFO_HWACCEL_COPYAREA |
FBINFO_HWACCEL_YPAN;

#ifdef CONFIG_PMAC_BACKLIGHT
if (M64_HAS(G3_PB_1_1) && machine_is_compatible("PowerBook1,1")) {
Expand Down

0 comments on commit 67ecc91

Please sign in to comment.