lkml.org 
[lkml]   [2000]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.2.18 i815 AGPGART Support
this patch is against final 2.2.18, hopefully for inclusion in 2.2.19pre.

the current '440LX/BX/GX and 840' agp driver supports the i815, but does
not detect it. this patch allows the driver to detect it correctly.

the current '810/815' driver is only for when the i815 is using its built
in video, not its AGP slot. the configure help is updated to reflect this
and show that the above driver now supports i815.

--
Robert M. Love
rml@ufl.edu
rml@tech9.net
diff --new-file -u --recursive linux~/CREDITS linux/CREDITS
--- linux~/CREDITS Sun Dec 10 19:49:40 2000
+++ linux/CREDITS Mon Dec 11 00:29:36 2000
@@ -1335,6 +1335,13 @@
S: Niwot, Colorado 80503
S: USA

+N: Robert M. Love
+E: rml@tech9.net
+E: rml@ufl.edu
+D: misc. kernel hacking and debugging
+S: Gainesville, Florida 32608
+S: USA
+
N: H.J. Lu
E: hjl@gnu.ai.mit.edu
D: GCC + libraries hacker
diff --new-file -u --recursive linux~/Documentation/Configure.help linux/Documentation/Configure.help
--- linux~/Documentation/Configure.help Sun Dec 10 19:49:41 2000
+++ linux/Documentation/Configure.help Mon Dec 11 00:31:22 2000
@@ -10476,8 +10476,8 @@

Intel 440LX/BX/GX support
CONFIG_AGP_INTEL
- This option give you AGP support for the GLX component of the
- "soon to be released" XFree86-4 on Intel 440LX/BX/GX chipsets.
+ This option gives you AGP support for the GLX component of
+ XFree86 4.x on Intel 440LX/BX/GX, 815, and 840 chipsets.

For the moment, most people should say no, unless you want to
test the GLX component which can be downloaded from
@@ -10485,9 +10485,9 @@

Intel I810/I810 DC100/I810e support
CONFIG_AGP_I810
- This option give you AGP support for the Xserver for the intel
- 810 chipset boards. This is required to do any useful video
- modes.
+ This option gives you AGP support for XFree86 on the Intel 810
+ and 815 chipsets for their on-board integrated graphics. This
+ is required to do any useful video modes with these boards.

VIA VP3/MVP3/Apollo Pro support
CONFIG_AGP_VIA
diff --new-file -u --recursive linux~/drivers/char/Config.in linux/drivers/char/Config.in
--- linux~/drivers/char/Config.in Sun Dec 10 19:49:41 2000
+++ linux/drivers/char/Config.in Mon Dec 11 00:32:22 2000
@@ -128,8 +128,8 @@
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate '/dev/agpgart (AGP Support) (EXPERIMENTAL)' CONFIG_AGP n
if [ "$CONFIG_AGP" != "n" ]; then
- bool ' Intel 440LX/BX/GX support' CONFIG_AGP_INTEL
- bool ' Intel I810/I810 DC100/I810e support' CONFIG_AGP_I810
+ bool ' Intel 440LX/BX/GX and I815/820 support' CONFIG_AGP_INTEL
+ bool ' Intel I810/I815 (on-board video) support' CONFIG_AGP_I810
bool ' VIA VP3/MVP3/Apollo Pro support' CONFIG_AGP_VIA
bool ' AMD Irongate support' CONFIG_AGP_AMD
bool ' Generic SiS support' CONFIG_AGP_SIS
diff --new-file -u --recursive linux~/drivers/char/agp/agp_backend.h linux/drivers/char/agp/agp_backend.h
--- linux~/drivers/char/agp/agp_backend.h Sun Dec 10 19:49:41 2000
+++ linux/drivers/char/agp/agp_backend.h Mon Dec 11 00:33:32 2000
@@ -45,6 +45,7 @@
INTEL_BX,
INTEL_GX,
INTEL_I810,
+ INTEL_I815,
INTEL_I840,
VIA_GENERIC,
VIA_VP3,
diff --new-file -u --recursive linux~/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
--- linux~/drivers/char/agp/agpgart_be.c Sun Dec 10 19:49:41 2000
+++ linux/drivers/char/agp/agpgart_be.c Mon Dec 11 00:34:40 2000
@@ -2026,6 +2026,13 @@
"Intel",
"440GX",
intel_generic_setup },
+ /* could we add support for PCI_DEVICE_ID_INTEL_815_1 too ? */
+ { PCI_DEVICE_ID_INTEL_815_0,
+ PCI_VENDOR_ID_INTEL,
+ INTEL_I815,
+ "Intel",
+ "i815",
+ intel_generic_setup },
{ PCI_DEVICE_ID_INTEL_840_0,
PCI_VENDOR_ID_INTEL,
INTEL_I840,
diff --new-file -u --recursive linux~/include/linux/agp_backend.h linux/include/linux/agp_backend.h
--- linux~/include/linux/agp_backend.h Sun Dec 10 19:49:44 2000
+++ linux/include/linux/agp_backend.h Mon Dec 11 00:32:46 2000
@@ -45,6 +45,7 @@
INTEL_BX,
INTEL_GX,
INTEL_I810,
+ INTEL_I815,
INTEL_I840,
VIA_GENERIC,
VIA_VP3,
\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.704 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site