Skip to contentSkip to conversation

Intel 830MP agp support (was "OOPS in agpgart (2.4.13, 2.4.15pre7)")

PATCH New Nicolas Aspert 1 participant 1 message Nov 27, 2001 Agpgart driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Intel 830MP agp support (was "OOPS in agpgart (2.4.13, 2.4.15pre7)")

Hello all

Here is a patch that fixes an oops of agpgart on Intel 830MP based machines. The previous code assumed that i830 always have a integrated graphic chip (w. pci id=3577), which is the case for the 'M' and 'MG' versions of the chipset, but not for the 'MP' version, which have an 'external' graphic device, and seem to be working as the other Intel 8xx chipsets. Thanks Stephan and Didier for testing it. The patch is for 2.4.16.

Best regards

Signature · 2 lines
Nicolas Aspert      Signal Processing Laboratory (LTS)
Swiss Federal Institute of Technology (EPFL)
drivers/char/agp/agp.h +2 -0
diff -Nru linux-2.4.16.clean/drivers/char/agp/agp.h linux-2.4.16.dirty/drivers/char/agp/agp.h
@@ -276,6 +276,8 @@
 #define I830_RDRAM_ND(x)           (((x) & 0x20) >> 5)
 #define I830_RDRAM_DDT(x)          (((x) & 0x18) >> 3)
 
+#define INTEL_I830_ERRSTS          0x92
+
 /* intel i820 registers */
 #define INTEL_I820_RDCR     0x51
 #define INTEL_I820_ERRSTS   0xc8
drivers/char/agp/agpgart_be.c +75 -7

118 lines not on this page · raw message