Radeonfb Xpress 200M RC410 support patch

Previous thread: Scheduler benchmarks - a follow-up by Rob Hussey on Monday, September 17, 2007 - 5:21 am. (18 messages)

Next thread: kernel thread id by Yishai Hadas on Monday, September 17, 2007 - 5:59 am. (1 message)
To: <linux-kernel@...>
Date: Monday, September 17, 2007 - 5:31 am

Ok, notthing special, and this is my first pqatch so forgive me if my method is off, however the following makes
radeonfb work ith the 200m Xpress RC410. In my tests it was terribly unstable and would freeze until I set a refresh rate in the kernel argument to 75.

e.g video=radeonfb:1280x800@75

Now it is rock solid.

Please CC me as well as I am not on the list...

diff -ur linux-2.6.22-vanilla/drivers/video/aty/ati_ids.h linux-2.6.22-vanilla.dev/drivers/video/aty/ati_ids.h
--- linux-2.6.22-suspend2-r1/drivers/video/aty/ati_ids.h 2007-07-08 23:32:17.000000000 +0000
+++ linux-2.6.22-suspend2-r1.dev/drivers/video/aty/ati_ids.h 2007-09-16 14:08:24.000000000 +0000
@@ -210,3 +210,4 @@
#define PCI_CHIP_RS350_7834 0x7834
#define PCI_CHIP_RS350_7835 0x7835
#define PCI_CHIP_RS480_5955 0x5955
+#define PCI_CHIP_RC410_5A62 0x5A62
diff -ur linux-2.6.22-vanilla/drivers/video/aty/radeon_base.c linux-2.6.22-vanilla.dev/drivers/video/aty/radeon_base.c
--- linux-2.6.22-vanilla/drivers/video/aty/radeon_base.c 2007-07-08 23:32:17.000000000 +0000
+++ linux-2.6.22-vanilla.dev/drivers/video/aty/radeon_base.c 2007-09-16 14:05:50.000000000 +0000
@@ -102,6 +102,7 @@
static struct pci_device_id radeonfb_pci_table[] = {
/* Radeon Xpress 200m */
CHIP_DEF(PCI_CHIP_RS480_5955, RS480, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
+ CHIP_DEF(PCI_CHIP_RC410_5A62, RC410, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
/* Mobility M6 */
CHIP_DEF(PCI_CHIP_RADEON_LY, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
CHIP_DEF(PCI_CHIP_RADEON_LZ, RV100, CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
@@ -1997,6 +1998,7 @@
if ((rinfo->family == CHIP_FAMILY_RS100) ||
(rinfo->family == CHIP_FAMILY_RS200) ||
(rinfo->family == CHIP_FAMILY_RS300) ||
+ (rinfo->family == CHIP_FAMILY_RC410) ||
(rinfo->family == CHIP_FAMILY_RS480) ) {
...

Previous thread: Scheduler benchmarks - a follow-up by Rob Hussey on Monday, September 17, 2007 - 5:21 am. (18 messages)

Next thread: kernel thread id by Yishai Hadas on Monday, September 17, 2007 - 5:59 am. (1 message)