Messages in this thread Patch in this message | | | From | Peter Chubb <> | Date | Wed, 1 Oct 2003 09:31:41 +1000 | Subject | Radeon framebuffer problems i 2.6.0-test6 |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |