linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Situation on radeonfb
@ 2003-02-19 12:00 Hanno Böck
  2003-02-19 19:04 ` Ani Joshi
  0 siblings, 1 reply; 3+ messages in thread
From: Hanno Böck @ 2003-02-19 12:00 UTC (permalink / raw)
  To: linux-fbdev-devel

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) {


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Situation on radeonfb
  2003-02-19 12:00 Situation on radeonfb Hanno Böck
@ 2003-02-19 19:04 ` Ani Joshi
  2003-03-01 10:38   ` Hanno Böck
  0 siblings, 1 reply; 3+ messages in thread
From: Ani Joshi @ 2003-02-19 19:04 UTC (permalink / raw)
  To: Hanno Böck; +Cc: linux-fbdev-devel


Marcello and Linus will recieve an update in the next week or so.


ani


On Wed, 19 Feb 2003, Hanno [ISO-8859-15] Böck wrote:

> 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) {
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
>


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Situation on radeonfb
  2003-02-19 19:04 ` Ani Joshi
@ 2003-03-01 10:38   ` Hanno Böck
  0 siblings, 0 replies; 3+ messages in thread
From: Hanno Böck @ 2003-03-01 10:38 UTC (permalink / raw)
  To: Ani Joshi; +Cc: linux-fbdev-devel

> Marcello and Linus will recieve an update in the next week or so.

Did you send anything? Can you post a copy of your patches to the list?

cu,

Hanno


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-01 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19 12:00 Situation on radeonfb Hanno Böck
2003-02-19 19:04 ` Ani Joshi
2003-03-01 10:38   ` Hanno Böck

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).