mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Osterlund <petero2@telia.com>
To: Ani Joshi <ajoshi@unixbox.com>
Cc: Peter Chubb <peter@chubb.wattle.id.au>, linux-kernel@vger.kernel.org
Subject: Re: Radeon FB in 2.6.0-test4 fails for me
Date: 25 Sep 2003 20:46:21 +0200	[thread overview]
Message-ID: <m28yocg0zm.fsf@p4.localdomain> (raw)
In-Reply-To: <Pine.BSF.4.50.0308261102240.15539-200000@shell.unixbox.com>

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

      parent reply	other threads:[~2003-09-25 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-26  4:24 Peter Chubb
2003-08-26 18:02 ` Ani Joshi
2003-08-26 21:08   ` Peter Chubb
2003-09-25 18:46   ` Peter Osterlund [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28yocg0zm.fsf@p4.localdomain \
    --to=petero2@telia.com \
    --cc=ajoshi@unixbox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@chubb.wattle.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®