Skip to contentSkip to conversation

radeonfb and `Radeon Mobility 9000'

PATCH Alvaro Lopez Ortega 3 participants 4 messages Jan 27, 2003 – Feb 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

This little patch adds `Radeon Mobility 9000' support to the Radeon
Framebuffer driver.

It works on my laptop (Dell Inspiron).

Signature · 1 line
Greetings, alo.
radeonfb.c renamed from radeonfb_orig.c +9 -2
@@ -19,6 +19,7 @@
  *	2001-11-18	DFP fixes, Kevin Hendricks, 0.1.3
  *	2001-11-29	more cmap, backlight fixes, Benjamin Herrenschmidt
  *	2002-01-18	DFP panel detection via BIOS, Michael Clark, 0.1.4
+ *	2003-01-28	added Radeon Mobility 9000, Alvaro Lopez Ortega
  *
  *	Special thanks to ATI DevRel team for their hardware donations.
  *
@@ -101,7 +102,8 @@
 	RADEON_LW,	/* Radeon Mobility M7 */
 	RADEON_LY,	/* Radeon Mobility M6 */
 	RADEON_LZ,	/* Radeon Mobility M6 */
-	RADEON_PM	/* Radeon Mobility P/M */
+	RADEON_L9,     /* Radeon Mobility 9000 */
+	RADEON_PM  	/* Radeon Mobility P/M */
 };
 
 
@@ -128,6 +130,7 @@
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LW, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LW},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LY},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LZ},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_L9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_L9},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_PM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_PM},
 	{ 0, }
 };
@@ -858,7 +861,11 @@
 			strcpy(rinfo->name, "Radeon M6 LZ ");
 			rinfo->hasCRTC2 = 1;
 			break;
-	        case PCI_DEVICE_ID_RADEON_PM:
+		case PCI_DEVICE_ID_RADEON_L9:
+			strcpy(rinfo->name, "Radeon M9000");
+			rinfo->hasCRTC2 = 1;
+			break;
+	     case PCI_DEVICE_ID_RADEON_PM:
 			strcpy(rinfo->name, "Radeon P/M ");
 			rinfo->hasCRTC2 = 1;
 		default:
#1 lore raw
Quoted 2 lines · Alvaro Lopez Ortega

This little patch adds `Radeon Mobility 9000' support to the Radeon
Framebuffer driver.

Sorry, I made a mistake..
This is the right patch file, please ignore previous one.

Signature · 1 line
Greetings, alo.
radeon.h renamed from radeon_orig.h +1 -0
@@ -13,6 +13,7 @@
 #define PCI_DEVICE_ID_RADEON_LY		0x4c59
 #define PCI_DEVICE_ID_RADEON_LZ		0x4c5a
 #define PCI_DEVICE_ID_RADEON_PM		0x4c52
+#define PCI_DEVICE_ID_RADEON_LF		0x4c66
 #define PCI_DEVICE_ID_RADEON_QL		0x514c
 #define PCI_DEVICE_ID_RADEON_QW		0x5157
 
radeonfb.c renamed from radeonfb_orig.c +9 -2
@@ -19,6 +19,7 @@
  *	2001-11-18	DFP fixes, Kevin Hendricks, 0.1.3
  *	2001-11-29	more cmap, backlight fixes, Benjamin Herrenschmidt
  *	2002-01-18	DFP panel detection via BIOS, Michael Clark, 0.1.4
+ *	2003-01-28	added Radeon Mobility 9000, Alvaro Lopez Ortega
  *
  *	Special thanks to ATI DevRel team for their hardware donations.
  *
@@ -101,7 +102,8 @@
 	RADEON_LW,	/* Radeon Mobility M7 */
 	RADEON_LY,	/* Radeon Mobility M6 */
 	RADEON_LZ,	/* Radeon Mobility M6 */
-	RADEON_PM	/* Radeon Mobility P/M */
+	RADEON_LF,	/* Radeon Mobility 9000 */
+	RADEON_PM  	/* Radeon Mobility P/M */
 };
 
 
@@ -128,6 +130,7 @@
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LW, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LW},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LY},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LZ},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LF},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_PM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_PM},
 	{ 0, }
 };
@@ -858,7 +861,11 @@
 			strcpy(rinfo->name, "Radeon M6 LZ ");
 			rinfo->hasCRTC2 = 1;
 			break;
-	        case PCI_DEVICE_ID_RADEON_PM:
+		case PCI_DEVICE_ID_RADEON_LF:
+			strcpy(rinfo->name, "Radeon R250 LF");
+			rinfo->hasCRTC2 = 1;
+			break;
+	     case PCI_DEVICE_ID_RADEON_PM:
 			strcpy(rinfo->name, "Radeon P/M ");
 			rinfo->hasCRTC2 = 1;
 		default:
#2 lore raw

Hi Alvaro Lopez Ortega,

Quoted 1 line · On Mon, 27 Jan 2003 16:35:52 +0100 Alvaro Lopez Ortega <[email protected]>…

This is the right patch file, please ignore previous one.

Thanx, it works fine against 2.4.19/2.4.20 and fixes fglrx's problems that was occuring when returning to console mode!

Regards,

Signature · 1 line
wwp
#3 lore raw
In reply to Alvaro Lopez Ortega
Quoted 6 lines
Quoted 3 lines

This little patch adds `Radeon Mobility 9000' support to the Radeon
Framebuffer driver.

Sorry, I made a mistake..
This is the right patch file, please ignore previous one.