lkml.org 
[lkml]   [2003]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Radeon FB in 2.6.0-test4 fails for me
From
Date
Ani Joshi <ajoshi@unixbox.com> writes:

> try the attatched patch (its against test4).

Thanks, this patch makes the frame buffer usable on my computer. I
suggest you send it to Linus.

> On Tue, 26 Aug 2003, Peter Chubb wrote:
>
> >
> > Hi,
> > On a Clevo laptop with a Radeon Mobility M7 LW (AGP), enabling
> > the Radeon frame buffer results in an unusable LCD display (as
> > if the horizontal and/or vertical sync were incorrect -- lots
> > of skewed diagonal lines)
>
> diff -uNr linux-2.6.0-test4.orig/drivers/video/radeonfb.c linux-2.6.0-test4/drivers/video/radeonfb.c
> --- linux-2.6.0-test4.orig/drivers/video/radeonfb.c 2003-08-22 17:01:33.000000000 -0700
> +++ linux-2.6.0-test4/drivers/video/radeonfb.c 2003-08-26 10:48:03.000000000 -0700
> @@ -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

--
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.110 / U:1.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site