mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* radeonfb and 2.4.19-rc2
@ 2002-07-17  6:35 Hanno Böck
  0 siblings, 0 replies; only message in thread
From: Hanno Böck @ 2002-07-17  6:35 UTC (permalink / raw)
  To: linux-kernel

There have been some updates in the radeonfb that are needed for some cards (especially mobility cards) to work.
The fixed version of radeonfb is in the ac-kernels, but not in the current 2.4.19-rc2.

Any chance that it will go into 2.4.19 final?

I'm talking especially about this patch, which is important for radeonfb to work on my machine for example:

--- 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] only message in thread

only message in thread, other threads:[~2002-07-17  6:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-17  6:35 radeonfb and 2.4.19-rc2 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

all inboxes | Powered by JetHome®