[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Radeon framebuffer problems i 2.6.0-test6
From:       Peter Chubb <peter () chubb ! wattle ! id ! au>
Date:       2003-09-30 23:31:41
[Download RAW message or body]



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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic