linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Sieper <m.si@ngi.de>
To: Linux Fbdev development list <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Computer with 1GB and radeonfb
Date: Thu, 05 Jun 2003 14:06:08 +0200	[thread overview]
Message-ID: <elmo1054814768183606478160@arbeitspferd> (raw)
In-Reply-To: <20030531054213.GA7494@middle.of.nowhere>

Hi Jurriaan,

thank you for the answer.

On Sat, 31 May 2003 07:42:13 +0200, Jurriaan wrote:
> The first one probably only affects the vesafb-driver. You could adapt
> it to the radeonfb-driver, just search for the correct lines in the
> radeonfb source and change them like the patch changes them.
> There's nothing like booting a kernel whose sources you've changed
> yourself to make you feel the power of open source :-)

I have look in the source radeonfb.c and have insert this:

--- linux-2.4.20/drivers/video/radeonfb.c.orig	2003-06-05 00:06:54.000000000 +0200
+++ linux-2.4.20/drivers/video/radeonfb.c	2003-06-01 12:19:07.000000000 +0200
@@ -1714,6 +1714,15 @@
 		}
 	}
 
+	/*
+	 * Hack for big memory (1GB main RAM) problem:
+	 * 	If the card memory bigger as 64MB
+	 *	so limit it to 64MB!
+	 */
+	if ((rinfo->video_ram / 1024) > 65536) {
+		rinfo->video_ram = 65536 * 1024;
+	}
+
 
 	RTRACE("radeonfb: probed %s %dk videoram\n", (rinfo->ram_type), (rinfo->video_ram/1024));
 

Now the radeonfb works in 8 bit mode but not perfect. There are pixel-trash 
when I scroll up/down. The 16 bit and 32 bit modes works but I have 
wrong colors and the same scroll problem. Any idea?

BTW: my Radeon 9100 has 128 MB RAM

 -Martin



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.

  reply	other threads:[~2003-06-05 12:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30 20:13 Computer with 1GB and radeonfb Martin Sieper
2003-05-31  5:42 ` Jurriaan
2003-06-05 12:06   ` Martin Sieper [this message]
2003-06-05 19:04     ` Jurriaan
2003-06-10 10:56       ` Martin Sieper

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=elmo1054814768183606478160@arbeitspferd \
    --to=m.si@ngi.de \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).