From: James Mayer <james@cobaltmountain.com>
To: Hanno B?ck <hanno@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: radeon framebuffer problem
Date: Sun, 2 Jun 2002 14:17:58 -0600 [thread overview]
Message-ID: <20020602201758.GA19815@galileo> (raw)
In-Reply-To: <20020602211014.3ccbe57e.hanno@gmx.de>
Hi,
> Jun 2 19:55:35 hannonb kernel: radeonfb: cannot map FB
>
> My card is a Radeon Mobility M6 LY.
> All kernels are with radeon framebuffer compiled in as the only
> framebuffer.
You might want to try this, I have an M6 LY with what I suspect is the
same problem.
Good luck!
--- radeonfb.c.orig Thu May 9 16:51:26 2002
+++ radeonfb.c Thu May 9 16:48:46 2002
@@ -877,6 +877,14 @@
/* mem size is bits [28:0], mask off the rest */
rinfo->video_ram = tmp & CONFIG_MEMSIZE_MASK;
+ /* According to XFree86 4.2.0, some production M6's return 0
+ for 8MB. */
+ if (rinfo->video_ram == 0 &&
+ (pdev->device == PCI_DEVICE_ID_RADEON_LY ||
+ pdev->device == PCI_DEVICE_ID_RADEON_LZ)) {
+ rinfo->video_ram = 8192 * 1024;
+ }
+
/* ram type */
tmp = INREG(MEM_SDRAM_MODE_REG);
switch ((MEM_CFG_TYPE & tmp) >> 30) {
next prev parent reply other threads:[~2002-06-02 20:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-02 19:10 radeon framebuffer problem Hanno Böck
2002-06-02 20:17 ` James Mayer [this message]
2002-06-02 21:18 ` Hanno Böck
2002-06-03 15:30 ` James Mayer
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=20020602201758.GA19815@galileo \
--to=james@cobaltmountain.com \
--cc=hanno@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.