atyfb: Set correct acceleration flags
PATCH 5/12 atyfb: Set correct acceleration flags
Set the appropriate acceleration flags so fbcon can choose the optimal scrolling mode.
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/aty/atyfb_base.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-)
drivers/video/aty/atyfb_base.c +13 -1
@@ -1280,6 +1280,14 @@ static int atyfb_set_par(struct fb_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);
@@ -2506,7 +2514,11 @@ static int __init aty_init(struct fb_inf 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" )) {
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642