Radeon framebuffer problems i 2.6.0-test6

Peter Chubb
2003-09-30T23:31:51Z

Try this patch that's been floating around for a while.

Ani, can you please push this patch to Linus? It fixes the Radeon
problems for a lot of people.

===== drivers/video/radeonfb.c 1.30 vs edited =====
--- 1.30/drivers/video/radeonfb.c Fri Aug 1 01:58:45 2003
+++ edited/drivers/video/radeonfb.c Tue Sep 9 13:18:36 2003
@@ -2090,7 +2090,7 @@

}
/* Update fix */
- info->fix.line_length = rinfo->pitch*64;
+ info->fix.line_length = mode->xres_virtual*(mode->bits_per_pixel/8);
info->fix.visual = rinfo->depth == 8 ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_DIRECTCOLOR;

#ifdef CONFIG_BOOTX_TEXT