]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.0-t7-radeonfb-lkml.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / 2.6.0-t7-radeonfb-lkml.patch
CommitLineData
8fc24f01 1--- 25/drivers/video/radeonfb.c~radeonfb-line_length-fix 2003-10-05 09:17:58.000000000 -0700
2+++ 25-akpm/drivers/video/radeonfb.c 2003-10-05 09:17:58.000000000 -0700
3@@ -2090,7 +2090,7 @@ static int radeonfb_set_par (struct fb_i
4
5 }
6 /* Update fix */
7- info->fix.line_length = rinfo->pitch*64;
8+ info->fix.line_length = mode->xres_virtual*(mode->bits_per_pixel/8);
9 info->fix.visual = rinfo->depth == 8 ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_DIRECTCOLOR;
10
11 #ifdef CONFIG_BOOTX_TEXT
This page took 0.171823 seconds and 4 git commands to generate.