The patch below enhances the FBIOGET_FSCREENINFO ioctl. It is used by the lcd_hack tool that Ben H wrote. Before this fix accel is set to 0 and lcd_hack aborts. With it, the tool works again.
Please apply. Thanks, -- Martin --- 2.6.8/drivers/video/aty/radeon_base.c.orig 2005-01-07 16:55:49.000000000 +0000 +++ 2.6.8/drivers/video/aty/radeon_base.c 2005-01-07 16:57:22.000000000 +0000 @@ -1812,9 +1812,12 @@ static int __devinit radeon_set_fbinfo ( fb_alloc_cmap(&info->cmap, 256, 0); - if (noaccel) + if (noaccel) { info->flags |= FBINFO_HWACCEL_DISABLED; + info->fix.accel = FB_ACCEL_NONE; + } else + info->fix.accel = FB_ACCEL_ATI_RADEON; return 0; }