Skip to contentSkip to conversation

AGP Kernel Patch for VIA KM266 / KL266

PATCH D & E Radel 2 participants 2 messages May 19, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi there

I am not quite sure who to send this to.......

With much help from Nicolas Mailhot and Flavio Stanchina, I have tested a Kernel 2.4.20 patch for AGP support for the VIA KM266 / KL266. It patches cleanly, compiles and runs in full 3D H/W acceleration with my ATI Radeon 9000.

Who do I send this to so that it can be included in the kernel?

Regards,
D.Radel.

-------------------
dmesg now says:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KM266 / KL266 chipset
agpgart: AGP aperture is 64M @ 0xe0000000

drivers/char/agp/agpgart_be.c +6 -0
diff -urN linux-2.4.20/drivers/char/agp/agpgart_be.c linux-2.4.20+KM266/drivers/char/agp/agpgart_be.c
@@ -4714,6 +4714,12 @@
 		"Via",
 		"Apollo Pro KT266",
 		via_generic_setup },
+        { PCI_DEVICE_ID_VIA_8375,
+		PCI_VENDOR_ID_VIA,
+		VIA_APOLLO_KM266,
+		"Via",
+		"Apollo Pro KM266 / KL266",
+		via_generic_setup },
 	{ 0,
 		PCI_VENDOR_ID_VIA,
 		VIA_GENERIC,
drivers/char/drm/drm_agpsupport.h +2 -0
diff -urN linux-2.4.20/drivers/char/drm/drm_agpsupport.h linux-2.4.20+KM266/drivers/char/drm/drm_agpsupport.h
@@ -279,6 +279,8 @@
 			break;
 		case VIA_APOLLO_KT133:	head->chipset = "VIA Apollo KT133";
 			break;
+		case VIA_APOLLO_KM266:  head->chipset = "VIA Apollo KM266 / KL266";
+			break;
 		case VIA_APOLLO_PRO: 	head->chipset = "VIA Apollo Pro";
 			break;
 
drivers/char/drm-4.0/agpsupport.c +2 -0
diff -urN linux-2.4.20/drivers/char/drm-4.0/agpsupport.c linux-2.4.20+KM266/drivers/char/drm-4.0/agpsupport.c
@@ -275,6 +275,8 @@
 			break;
 		case VIA_APOLLO_KT133:	head->chipset = "VIA Apollo KT133"; 
 			break;
+		case VIA_APOLLO_KM266:  head->chipset = "VIA Apollo KM266 / KL266";
+			break;
 #endif
 
 		case VIA_APOLLO_PRO: 	head->chipset = "VIA Apollo Pro";
drivers/pci/pci.ids +1 -0
diff -urN linux-2.4.20/drivers/pci/pci.ids linux-2.4.20+KM266/drivers/pci/pci.ids
@@ -2741,6 +2741,7 @@
 	3104  USB 2.0
 	3109  VT8233C PCI to ISA Bridge
 	3112  VT8361 [KLE133] Host Bridge
+	3116  VT8375 [KM266/KL266 AGP] Host Bridge
 	3128  VT8753 [P4X266 AGP]
 	3133  VT3133 Host Bridge
 	3147  VT8233A ISA Bridge
include/linux/agp_backend.h +1 -0
diff -urN linux-2.4.20/include/linux/agp_backend.h linux-2.4.20+KM266/include/linux/agp_backend.h
@@ -60,6 +60,7 @@
 	VIA_APOLLO_PRO,
 	VIA_APOLLO_KX133,
 	VIA_APOLLO_KT133,
+	VIA_APOLLO_KM266,
 	SIS_GENERIC,
 	AMD_GENERIC,
 	AMD_IRONGATE,
include/linux/pci_ids.h +1 -0
diff -urN linux-2.4.20/include/linux/pci_ids.h linux-2.4.20+KM266/include/linux/pci_ids.h
@@ -988,6 +988,7 @@
 #define PCI_DEVICE_ID_VIA_8622		0x3102
 #define PCI_DEVICE_ID_VIA_8233C_0	0x3109
 #define PCI_DEVICE_ID_VIA_8361		0x3112
+#define PCI_DEVICE_ID_VIA_8375		0x3116
 #define PCI_DEVICE_ID_VIA_8233A		0x3147
 #define PCI_DEVICE_ID_VIA_86C100A	0x6100
 #define PCI_DEVICE_ID_VIA_8231		0x8231

#1 lore raw
Quoted 6 lines · D & E Radel

With much help from Nicolas Mailhot and Flavio Stanchina, I have tested a Kernel 2.4.20 patch for AGP support for the VIA KM266 / KL266. It patches cleanly, compiles and runs in full 3D H/W acceleration with my ATI Radeon 9000.

Who do I send this to so that it can be included in the kernel?

[email protected], Cc: Alan.

Slight nitpick...

Quoted 3 lines

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KM266 / KL266 chipset

                     ^^^

s/Via/VIA/

Dave