* re: AGP Bridge support for AMD 761 @ 2001-09-15 1:58 Alexander Stohr 2001-09-15 2:38 ` Robert Love 0 siblings, 1 reply; 6+ messages in thread From: Alexander Stohr @ 2001-09-15 1:58 UTC (permalink / raw) To: DevilKin, linux-kernel For diagnostics you should check outputs of "lspci -xxx -s 0:0". (Sent this data to the list here, if you still fail with your attempt.) First and second byte are the vendor id (AMD = 1022) in low high order. Third and forth value form the low and the high part of the chips device id. List of device ids: AMD 751 0x7006 (Irongate) AMD 761 0x700E (IGD4) AMD 762 0x700C SMP versions not listed here, see http://www.yourvote.com/pci/pciread.asp?venid=0x1022 for more device IDs. Kernel source from 2.4.9 shows up with support for the AMD 751. Since follow up chips often do not change much, the ===> "agp_try_unsupported=1" <=== option will cause the driver to apply the 751 code onto any other chipset that has AMD as its vendor, as long as AGP registers are found for it. This should do the job for several versions, or crash rahter fast if the chipset is no longer compatible. regards AlexS. PS: i am not subscribed to this list. PS2: i might read your answers via http://marc.theaimsgroup.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AGP Bridge support for AMD 761 2001-09-15 1:58 AGP Bridge support for AMD 761 Alexander Stohr @ 2001-09-15 2:38 ` Robert Love 0 siblings, 0 replies; 6+ messages in thread From: Robert Love @ 2001-09-15 2:38 UTC (permalink / raw) To: DevilKin; +Cc: linux-kernel I tried to put together a patch for AMD 761 support. I don't have an AMD 761, but this should work fine. it is against 2.4.10-pre1, but it should apply cleanly to your kernel. Please let me know if it works, so we can submit it for inclusion in the kernel. 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 Fri Sep 14 22:33:37 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 Fri Sep 14 22:33:48 2001 @@ -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, -- Robert M. Love rml at ufl.edu rml at tech9.net ^ permalink raw reply [flat|nested] 6+ messages in thread
* AGP Bridge support for AMD 761 @ 2001-09-14 21:40 DevilKin 2001-09-15 1:41 ` Steven Spence 0 siblings, 1 reply; 6+ messages in thread From: DevilKin @ 2001-09-14 21:40 UTC (permalink / raw) To: linux-kernel Hello all... I've recently bought a new mobo, the Abit KG7-Raid, and I've run into some trouble trying to get the agpgart to work correctly. Everytime I load it on kernel 2.4.9 (nonpatched, straigt from the tarball) I get messages like 'Unsupported chipset; try try_unsupported' (or smthing, not entirely sure about the msg anymore since I'm not on that PC right now). I've tried what it advices, but still it keeps on giving that error. Anyone got a clue? Thanks, Devil -- devilkin@gmx.net ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AGP Bridge support for AMD 761 2001-09-14 21:40 DevilKin @ 2001-09-15 1:41 ` Steven Spence 2001-09-15 18:09 ` Jeffrey W. Baker 0 siblings, 1 reply; 6+ messages in thread From: Steven Spence @ 2001-09-15 1:41 UTC (permalink / raw) To: DevilKin; +Cc: linux-kernel DevilKin wrote: >Hello all... > >I've recently bought a new mobo, the Abit KG7-Raid, and I've run into some trouble trying to get the agpgart to work correctly. Everytime I load it >on kernel 2.4.9 (nonpatched, straigt from the tarball) I get messages like 'Unsupported chipset; try try_unsupported' (or smthing, not entirely >sure about the msg anymore since I'm not on that PC right now). I've tried what it advices, but still it keeps on giving that error. > >Anyone got a clue? > >Thanks, > >Devil > Well, do what its telling you. Either append 'agp_try_unsupported' to lilo or use it as an option on modules. Ex: modprobe agpgart agp_try_unsupported=1 Steve ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AGP Bridge support for AMD 761 2001-09-15 1:41 ` Steven Spence @ 2001-09-15 18:09 ` Jeffrey W. Baker 2001-09-15 18:14 ` Robert Love 0 siblings, 1 reply; 6+ messages in thread From: Jeffrey W. Baker @ 2001-09-15 18:09 UTC (permalink / raw) To: Steven Spence; +Cc: DevilKin, linux-kernel On Fri, 14 Sep 2001, Steven Spence wrote: > DevilKin wrote: > > >Hello all... > > > >I've recently bought a new mobo, the Abit KG7-Raid, and I've run into some trouble trying to get the agpgart to work correctly. Everytime I load it > >on kernel 2.4.9 (nonpatched, straigt from the tarball) I get messages like 'Unsupported chipset; try try_unsupported' (or smthing, not entirely > >sure about the msg anymore since I'm not on that PC right now). I've tried what it advices, but still it keeps on giving that error. > > > >Anyone got a clue? > > > >Thanks, > > > >Devil > > > Well, do what its telling you. Either append 'agp_try_unsupported' to > lilo or use it as an option on modules. > > Ex: modprobe agpgart agp_try_unsupported=1 I've found, with 2.4.9(-ac9), that the lilo append line doesn't work at all. agpgart *must* be a modules, or it won't work with 761. -jwb ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AGP Bridge support for AMD 761 2001-09-15 18:09 ` Jeffrey W. Baker @ 2001-09-15 18:14 ` Robert Love 0 siblings, 0 replies; 6+ messages in thread From: Robert Love @ 2001-09-15 18:14 UTC (permalink / raw) To: Jeffrey W. Baker; +Cc: Steven Spence, DevilKin, linux-kernel On Sat, 2001-09-15 at 14:09, Jeffrey W. Baker wrote: > I've found, with 2.4.9(-ac9), that the lilo append line doesn't work at > all. agpgart *must* be a modules, or it won't work with 761. Try my patch (just reposted as `[PATCH] AGP GART for AMD 761'), it will enable the AGP GART to work with the 761 natively, so you can use it without try_unsupported=1 and thus statically in the kernel or as a module. Please let me know if it works, as I don't have an AMD 761. -- Robert M. Love rml at ufl.edu rml at tech9.net ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-09-15 18:15 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-09-15 1:58 AGP Bridge support for AMD 761 Alexander Stohr 2001-09-15 2:38 ` Robert Love -- strict thread matches above, loose matches on Subject: below -- 2001-09-14 21:40 DevilKin 2001-09-15 1:41 ` Steven Spence 2001-09-15 18:09 ` Jeffrey W. Baker 2001-09-15 18:14 ` Robert Love
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).