* [PATCH] (Updated) AMD 761 AGP GART Support
@ 2001-09-15 20:59 Robert Love
2001-09-14 18:00 ` Jesper Juhl
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Robert Love @ 2001-09-15 20:59 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, juhl
Linus,
the following patch adds signature for the AMD 761 to the AGP GART
code. It has been tested and works. Please, apply.
diff -urN linux-2.4.10-pre9/Documentation/Configure.help linux/Documentation/Configure.help
--- linux-2.4.10-pre9/Documentation/Configure.help Thu Sep 13 21:03:36 2001
+++ linux/Documentation/Configure.help Fri Sep 14 22:28:37 2001
@@ -2581,7 +2581,7 @@
AMD Irongate support
CONFIG_AGP_AMD
This option gives you AGP support for the GLX component of the
- XFree86 4.x on AMD Irongate chipset.
+ XFree86 4.x on AMD Irongate and 761 chipsets.
For the moment, you should probably say N, unless you want to test
the GLX component for XFree86 3.3.6, which can be downloaded from
diff -urN linux-2.4.10-pre9/drivers/char/agp/agp.h linux/drivers/char/agp/agp.h
--- linux-2.4.10-pre9/drivers/char/agp/agp.h Thu Sep 13 21:03:40 2001
+++ linux/drivers/char/agp/agp.h Sat Sep 15 16:32:44 2001
@@ -196,6 +196,9 @@
#ifndef PCI_DEVICE_ID_AMD_IRONGATE_0
#define PCI_DEVICE_ID_AMD_IRONGATE_0 0x7006
#endif
+#ifndef PCI_DEVICE_ID_AMD_761_0
+#define PCI_DEVICE_ID_AMD_761_0 0x700e
+#endif
#ifndef PCI_VENDOR_ID_AL
#define PCI_VENDOR_ID_AL 0x10b9
#endif
diff -urN linux-2.4.10-pre9/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
--- linux-2.4.10-pre9/drivers/char/agp/agpgart_be.c Thu Sep 13 21:03:40 2001
+++ linux/drivers/char/agp/agpgart_be.c Sat Sep 15 16:31:58 2001
@@ -385,9 +385,9 @@
/*
* Driver routines - start
* Currently this module supports the following chipsets:
- * i810, 440lx, 440bx, 440gx, i840, i850, via vp3, via mvp3, via kx133,
- * via kt133, amd irongate, ALi M1541, and generic support for the SiS
- * chipsets.
+ * i810, i815, 440lx, 440bx, 440gx, i840, i850, via vp3, via mvp3,
+ * via kx133, via kt133, amd irongate, amd 761, ALi M1541, and generic
+ * support for the SiS chipsets.
*/
/* Generic Agp routines - Start */
@@ -2895,6 +2895,12 @@
"AMD",
"Irongate",
amd_irongate_setup },
+ { PCI_DEVICE_ID_AMD_761_0,
+ PCI_VENDOR_ID_AMD,
+ AMD_761,
+ "AMD",
+ "761",
+ amd_irongate_setup },
{ 0,
PCI_VENDOR_ID_AMD,
AMD_GENERIC,
@@ -2922,7 +2928,6 @@
"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,
diff -urN linux-2.4.10-pre9/include/linux/agp_backend.h linux/include/linux/agp_backend.h
--- linux-2.4.10-pre9/include/linux/agp_backend.h Thu Sep 13 21:03:50 2001
+++ linux/include/linux/agp_backend.h Fri Sep 14 22:27:34 2001
@@ -58,6 +58,7 @@
SIS_GENERIC,
AMD_GENERIC,
AMD_IRONGATE,
+ AMD_761,
ALI_M1541,
ALI_M1621,
ALI_M1631,
P.S. Before anyone else whines about the removal of the i815 comment --
its my comment, I can remove it if I want to :)
--
Robert M. Love
rml at ufl.edu
rml at tech9.net
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] (Updated) AMD 761 AGP GART Support
2001-09-15 20:59 [PATCH] (Updated) AMD 761 AGP GART Support Robert Love
@ 2001-09-14 18:00 ` Jesper Juhl
2001-09-15 21:10 ` Robert Love
2001-09-15 21:24 ` Robert Love
2 siblings, 0 replies; 4+ messages in thread
From: Jesper Juhl @ 2001-09-14 18:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Robert Love, torvalds, laughing
Robert Love wrote:
> Linus,
>
> the following patch adds signature for the AMD 761 to the AGP GART
> code. It has been tested and works. Please, apply.
This is just to confirm that the final patch send out by Robert works fine. I have tested the
patch against 2.4.10-pre9 and it applies, builds and works properly. I can see no ill effects of
this patch, it correctly identifies my AMD 761 chipset and everything works perfectly.
Below are the relevant parts of dmesg output from my box to show that everything is fine:
...
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected AMD 761 chipset
agpgart: AGP aperture is 64M @ 0xf8000000
...
NVRM: loading NVIDIA kernel module version 1.0-1251
NVRM: not using NVAGP, AGPGART is loaded!!
Best regards,
Jesper Juhl
juhl@eisenstein.dk
PS. I have also tested the patch that Robert send out to correct the config name, and I can
confirm that that one also works as expected.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] (Updated) AMD 761 AGP GART Support
2001-09-15 20:59 [PATCH] (Updated) AMD 761 AGP GART Support Robert Love
2001-09-14 18:00 ` Jesper Juhl
@ 2001-09-15 21:10 ` Robert Love
2001-09-15 21:24 ` Robert Love
2 siblings, 0 replies; 4+ messages in thread
From: Robert Love @ 2001-09-15 21:10 UTC (permalink / raw)
To: laughing; +Cc: linux-kernel, juhl, jgarzik
On Sat, 2001-09-15 at 16:59, Robert Love wrote:
> Linus,
>
> the following patch adds signature for the AMD 761 to the AGP GART
> code. It has been tested and works. Please, apply.
Alan, this is a diff against your tree, 2.4.9-ac10. Please, apply.
diff -urN linux-2.4.9-ac10/Documentation/Configure.help linux/Documentation/Configure.help
--- linux-2.4.9-ac10/Documentation/Configure.help Sat Sep 15 17:03:21 2001
+++ linux/Documentation/Configure.help Sat Sep 15 17:03:53 2001
@@ -3094,7 +3094,7 @@
AMD Irongate support
CONFIG_AGP_AMD
This option gives you AGP support for the GLX component of the
- XFree86 4.x on AMD Irongate chipset.
+ XFree86 4.x on AMD Irongate and 761 chipsets.
For the moment, you should probably say N, unless you want to test
the GLX component for XFree86 3.3.6, which can be downloaded from
diff -urN linux-2.4.9-ac10/drivers/char/agp/agp.h linux/drivers/char/agp/agp.h
--- linux-2.4.9-ac10/drivers/char/agp/agp.h Sat Sep 15 17:02:51 2001
+++ linux/drivers/char/agp/agp.h Sat Sep 15 17:03:53 2001
@@ -209,6 +209,9 @@
#ifndef PCI_DEVICE_ID_AMD_762_0
#define PCI_DEVICE_ID_AMD_762_0 0x700C
#endif
+#ifndef PCI_DEVICE_ID_AMD_761_0
+#define PCI_DEVICE_ID_AMD_761_0 0x700e
+#endif
#ifndef PCI_VENDOR_ID_AL
#define PCI_VENDOR_ID_AL 0x10b9
#endif
diff -urN linux-2.4.9-ac10/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
--- linux-2.4.9-ac10/drivers/char/agp/agpgart_be.c Sat Sep 15 17:02:51 2001
+++ linux/drivers/char/agp/agpgart_be.c Sat Sep 15 17:03:53 2001
@@ -387,9 +387,9 @@
/*
* Driver routines - start
* Currently this module supports the following chipsets:
- * i810, 440lx, 440bx, 440gx, i840, i850, via vp3, via mvp3, via kx133,
- * via kt133, amd irongate, ALi M1541, and generic support for the SiS
- * chipsets.
+ * i810, i815, 440lx, 440bx, 440gx, i840, i850, via vp3, via mvp3,
+ * via kx133, via kt133, amd irongate, amd 761, ALi M1541, and generic
+ * support for the SiS chipsets.
*/
/* Generic Agp routines - Start */
@@ -2937,6 +2937,12 @@
"AMD",
"AMD 760MP",
amd_irongate_setup },
+ { PCI_DEVICE_ID_AMD_761_0,
+ PCI_VENDOR_ID_AMD,
+ AMD_761,
+ "AMD",
+ "761",
+ amd_irongate_setup },
{ 0,
PCI_VENDOR_ID_AMD,
AMD_GENERIC,
@@ -2964,7 +2970,6 @@
"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,
diff -urN linux-2.4.9-ac10/include/linux/agp_backend.h linux/include/linux/agp_backend.h
--- linux-2.4.9-ac10/include/linux/agp_backend.h Sat Sep 15 17:02:40 2001
+++ linux/include/linux/agp_backend.h Sat Sep 15 17:03:53 2001
@@ -58,6 +58,7 @@
SIS_GENERIC,
AMD_GENERIC,
AMD_IRONGATE,
+ AMD_761,
ALI_M1541,
ALI_M1621,
ALI_M1631,
> P.S. Before anyone else whines about the removal of the i815 comment --
> its my comment, I can remove it if I want to :)
--
Robert M. Love
rml at ufl.edu
rml at tech9.net
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] (Updated) AMD 761 AGP GART Support
2001-09-15 20:59 [PATCH] (Updated) AMD 761 AGP GART Support Robert Love
2001-09-14 18:00 ` Jesper Juhl
2001-09-15 21:10 ` Robert Love
@ 2001-09-15 21:24 ` Robert Love
2 siblings, 0 replies; 4+ messages in thread
From: Robert Love @ 2001-09-15 21:24 UTC (permalink / raw)
To: torvalds, laughing; +Cc: linux-kernel, juhl
On Sat, 2001-09-15 at 16:59, Robert Love wrote:
> the following patch adds signature for the AMD 761 to the AGP GART
> code. It has been tested and works. Please, apply.
Thanks to Jesper Juhl, I noticed the config name was not updated (the
help entry is, though) to reflect support of the AMD 761. Please append
this to my previous patch, and apply both. It applies to both trees.
Thanks.
diff -urN linux-2.4.9-ac10/drivers/char/ linux/drivers/char/Config.in
--- linux-2.4.9-ac10/drivers/char/Config.in Sat Sep 15 17:02:51 2001
+++ linux/drivers/char/Config.in Sat Sep 15 17:20:38 2001
@@ -208,7 +208,7 @@
bool ' Intel 440LX/BX/GX and I815/I840/I850 support' CONFIG_AGP_INTEL
bool ' Intel I810/I815 (on-board) support' CONFIG_AGP_I810
bool ' VIA chipset support' CONFIG_AGP_VIA
- bool ' AMD Irongate support' CONFIG_AGP_AMD
+ bool ' AMD Irongate and 761 support' CONFIG_AGP_AMD
bool ' Generic SiS support' CONFIG_AGP_SIS
bool ' ALI chipset support' CONFIG_AGP_ALI
bool ' Serverworks LE/HE support' CONFIG_AGP_SWORKS
--
Robert M. Love
rml at ufl.edu
rml at tech9.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-15 21:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-15 20:59 [PATCH] (Updated) AMD 761 AGP GART Support Robert Love
2001-09-14 18:00 ` Jesper Juhl
2001-09-15 21:10 ` Robert Love
2001-09-15 21:24 ` Robert Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox