All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch for radeon framebuffer (fwd)
@ 2003-03-19 20:43 Marcelo Tosatti
  2003-03-20 13:46 ` Mauro Chiarugi
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2003-03-19 20:43 UTC (permalink / raw)
  To: Ani Joshi; +Cc: lkml


Forwarded to the radeon maintainer.


Danke

---------- Forwarded message ----------
Date: Sat, 15 Mar 2003 14:24:08 +0100
From: "Hanno [ISO-8859-15] Böck" <hanno@gmx.de>
To: linux-kernel@vger.kernel.org
Cc: marcelo@conectiva.com.br
Subject: Patch for radeon framebuffer

The patch below has been around for ages now.
It is needed on some radeon mobility cards, because they report 0 for
their video-ram-size.
Without the patch, the radeonfb will not work.

Can you include this in the next kernel release?


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

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

* Re: Patch for radeon framebuffer (fwd)
  2003-03-19 20:43 Patch for radeon framebuffer (fwd) Marcelo Tosatti
@ 2003-03-20 13:46 ` Mauro Chiarugi
  0 siblings, 0 replies; 2+ messages in thread
From: Mauro Chiarugi @ 2003-03-20 13:46 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: ajoshi, linux-kernel

Hi,
i've an ATI Radeon Mobility IGP 320.
I've tried to enable the 'radeon framebuffer' in the kernel 2.4.20 and
2.4.18, but if i boot with this kernel, i can't see.. :-( I'd like to
know if with the last unstable release of the kernel (and/or with this
patch) i can enable that option..

tnx

bye bye

--
sracatus

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

end of thread, other threads:[~2003-03-20 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-19 20:43 Patch for radeon framebuffer (fwd) Marcelo Tosatti
2003-03-20 13:46 ` Mauro Chiarugi

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.