|
From: Hanno <ha...@gm...> - 2003-02-19 12:00:28
|
Hi,
I own a Sony Vaio with a Radeon Mobility M6 LY.
The Situation with radeonfb at the moment is not very good for me.
1. I need a fix that has been around for ages, but not added to the main
kernel (see patch below).
2. There seem to be two updates for the radeonfb in kernel 2.4 floating
arount. One from Ani Joshi which was part of the ac-kernel, but has
recently been dropped. So it's not likely that it will become part of
the main kernel. This Update works for me.
Another one from the mplayer-team, which doesn't work for me at all,
even if I add the fix below.
By the way, the 2.5-version of the radeonfb also doesn't work at all for
me, even if I add the fix below and change the constant-names to the
ones used in 2.5.
I would really like to have a working radeonfb. Is there currently any
work done on this? Can we at least send the fix below to marcello and
ask him to integrate this soon?
--- 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) {
|