Skip to contentSkip to conversation

Radeonfb Xpress 200M RC410 support patch

PATCH Sellout Bessie 1 participant 1 message Sep 17, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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

drivers/video/aty/ati_ids.h 2007-09-16 14:08:24.000000000 +0000 renamed from drivers/video/aty/ati_ids.h 2007-07-08 23:32:17.000000000 +0000 +1 -0
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
@@ -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
drivers/video/aty/radeon_base.c 2007-09-16 14:05:50.000000000 +0000 renamed from drivers/video/aty/radeon_base.c 2007-07-08 23:32:17.000000000 +0000 +2 -0
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
@@ -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) ) {
           u32 tom = INREG(NB_TOM);
           tmp = ((((tom >> 16) - (tom & 0xffff) + 1) << 6) * 1024);
drivers/video/aty/radeonfb.h 2007-09-16 14:14:05.000000000 +0000 renamed from drivers/video/aty/radeonfb.h 2007-07-08 23:32:17.000000000 +0000 +3 -1
diff -ur linux-2.6.22-vanilla/drivers/video/aty/radeonfb.h linux-2.6.22-vanilla.dev/drivers/video/aty/radeonfb.h
@@ -48,6 +48,7 @@
        CHIP_FAMILY_RV350,
        CHIP_FAMILY_RV380,    /* RV370/RV380/M22/M24 */
        CHIP_FAMILY_R420,     /* R420/R423/M18 */
+       CHIP_FAMILY_RC410,
        CHIP_FAMILY_RS480,
        CHIP_FAMILY_LAST,
 };
@@ -66,7 +67,8 @@
                                ((rinfo)->family == CHIP_FAMILY_R350)  || \
                                ((rinfo)->family == CHIP_FAMILY_RV380) || \
                                ((rinfo)->family == CHIP_FAMILY_R420)  || \
-                               ((rinfo)->family == CHIP_FAMILY_RS480) )
+                               ((rinfo)->family == CHIP_FAMILY_RC410) || \
+                               ((rinfo)->family == CHIP_FAMILY_RS480))
 
 /*
  * Chip flags
Signature · 16 lines
~Sellout Bessie
____________________________________________________
Website: http://beautyisfleeting.com
    IRC: [email protected]:7777
  Gtalk: [email protected]
ICQ/AIM: 172570138
  Yahoo: sellout172570138
    MSN: [email protected]
____________________________________________________
PGP Key: http://beautyisfleeting.com/0xA0631FD6.asc
____________________________________________________
 hackerkey://v4sw6HPRU$hw6$ln8pr8FPS$ck7ma6u9L$w2m
 5l7Gi52e4t1b9LOen7a2XINs4Sr4p-5.63/0.21g5ACGOPRTZ
____________________________________________________
___________Registered Linux User #446190____________
____________________________________________________