Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Radeonfb Xpress 200M RC410 support

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

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Sellout Bessie and committed by
Linus Torvalds
0b693eaf 80185a9d

+7 -1
+1
drivers/video/aty/ati_ids.h
··· 188 188 #define PCI_CHIP_MACH64VT 0x5654 189 189 #define PCI_CHIP_MACH64VU 0x5655 190 190 #define PCI_CHIP_MACH64VV 0x5656 191 + #define PCI_CHIP_RC410_5A62 0x5A62 191 192 #define PCI_CHIP_RS300_5834 0x5834 192 193 #define PCI_CHIP_RS300_5835 0x5835 193 194 #define PCI_CHIP_RS300_5836 0x5836
+3
drivers/video/aty/radeon_base.c
··· 145 145 /* 9000/Pro */ 146 146 CHIP_DEF(PCI_CHIP_RV250_If, RV250, CHIP_HAS_CRTC2), 147 147 CHIP_DEF(PCI_CHIP_RV250_Ig, RV250, CHIP_HAS_CRTC2), 148 + 149 + CHIP_DEF(PCI_CHIP_RC410_5A62, RC410, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY), 148 150 /* Mobility 9100 IGP (U3) */ 149 151 CHIP_DEF(PCI_CHIP_RS300_5835, RS300, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY), 150 152 CHIP_DEF(PCI_CHIP_RS350_7835, RS300, CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY), ··· 2001 1999 if ((rinfo->family == CHIP_FAMILY_RS100) || 2002 2000 (rinfo->family == CHIP_FAMILY_RS200) || 2003 2001 (rinfo->family == CHIP_FAMILY_RS300) || 2002 + (rinfo->family == CHIP_FAMILY_RC410) || 2004 2003 (rinfo->family == CHIP_FAMILY_RS480) ) { 2005 2004 u32 tom = INREG(NB_TOM); 2006 2005 tmp = ((((tom >> 16) - (tom & 0xffff) + 1) << 6) * 1024);
+3 -1
drivers/video/aty/radeonfb.h
··· 48 48 CHIP_FAMILY_RV350, 49 49 CHIP_FAMILY_RV380, /* RV370/RV380/M22/M24 */ 50 50 CHIP_FAMILY_R420, /* R420/R423/M18 */ 51 + CHIP_FAMILY_RC410, 51 52 CHIP_FAMILY_RS480, 52 53 CHIP_FAMILY_LAST, 53 54 }; ··· 67 66 ((rinfo)->family == CHIP_FAMILY_R350) || \ 68 67 ((rinfo)->family == CHIP_FAMILY_RV380) || \ 69 68 ((rinfo)->family == CHIP_FAMILY_R420) || \ 70 - ((rinfo)->family == CHIP_FAMILY_RS480) ) 69 + ((rinfo)->family == CHIP_FAMILY_RC410) || \ 70 + ((rinfo)->family == CHIP_FAMILY_RS480)) 71 71 72 72 /* 73 73 * Chip flags