2001-07-24 02:31:09

by Paul G. Allen

[permalink] [raw]
Subject: AMD-760 MP AGP Support

Hello, I'm new to the list and I have a question (or two, or three, or... ;)

I just purchased a Tyan K7 Thunder (Dual Athlon motherboard) and I am running dual 1.4GHz Athlons and a GeForce 3 on it. It appears that the current (2.4.7
kernel) agpgart module does not directly support the AMD-760 MP chipset. I am planning upon modifying agpgart to support it. My question is: Is anyone already
doing this? I don't want to re-create the wheel, I just want full support on this screaming fast system.

Are there other mailing lists that I might want to join and ask this question on?

Thanks,

PGA

Paul G. Allen
Akamai Technologies, Inc.
(http://www.akamai.com)

I am Paul G. Allen and I don't do Windows!


2001-07-24 15:45:00

by Jeff Hartmann

[permalink] [raw]
Subject: Re: AMD-760 MP AGP Support

Paul G. Allen wrote:

> Hello, I'm new to the list and I have a question (or two, or three, or... ;)
>
> I just purchased a Tyan K7 Thunder (Dual Athlon motherboard) and I am running dual 1.4GHz Athlons and a GeForce 3 on it. It appears that the current (2.4.7
> kernel) agpgart module does not directly support the AMD-760 MP chipset. I am planning upon modifying agpgart to support it. My question is: Is anyone already
> doing this? I don't want to re-create the wheel, I just want full support on this screaming fast system.
>

I have a pre production Tyan mb that I tested things on. It seemed to
work just fine with agp_try_unsupported=1. Please test it with
agp_try_unsupported on an actual production system to make sure, but if
it works just send me the output of lspci -vvv and I'll put it in the
kernel.

-Jeff

2001-07-25 01:47:54

by Gregory T. Norris

[permalink] [raw]
Subject: Re: AMD-760 MP AGP Support

It's been working very well here for some time, on an ASUS A7M266
motherboard. The output from lspci is attached.

On Tue, Jul 24, 2001 at 09:43:21AM -0600, Jeff Hartmann wrote:
> I have a pre production Tyan mb that I tested things on. It seemed
> to work just fine with agp_try_unsupported=1. Please test it with
> agp_try_unsupported on an actual production system to make sure, but
> if it works just send me the output of lspci -vvv and I'll put it in
> the kernel.
>
> -Jeff


Attachments:
(No filename) (485.00 B)
lspci.out (8.17 kB)
Download all attachments

2001-07-30 20:45:17

by Anders Fugmann

[permalink] [raw]
Subject: Re: AMD-760 AGP Support

00:00.0 Host bridge: Advanced Micro Devices [AMD]: Unknown device 700e (rev 13)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 32
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 1: Memory at df800000 (32-bit, prefetchable) [size=4K]
Region 2: I/O ports at e000 [disabled] [size=4]
Capabilities: [a0] AGP version 2.0
Status: RQ=15 SBA+ 64bit- FW+ Rate=x1,x2
Command: RQ=0 SBA- AGP+ 64bit- FW+ Rate=<none>

00:01.0 PCI bridge: Advanced Micro Devices [AMD]: Unknown device 700f (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000dfff
Memory behind bridge: ce000000-cfdfffff
Prefetchable memory behind bridge: cff00000-df7fffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
Subsystem: Asustek Computer, Inc.: Unknown device 8040
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 4: I/O ports at d800 [size=16]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00 [UHCI])
Subsystem: Unknown device 0925:1234
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00 [UHCI])
Subsystem: Unknown device 0925:1234
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at d000 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.4 Non-VGA unclassified device: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
Subsystem: Asustek Computer, Inc.: Unknown device 8040
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
Capabilities: [68] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: Asustek Computer, Inc.: Unknown device 80e2
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at a400 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2500ns min, 2500ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at a000 [size=128]
Region 1: Memory at cd800000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:05.0 VGA compatible controller: nVidia Corporation GeForce 256 (rev 10) (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc. AGP-V6600 SGRAM
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at cfff0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
Command: RQ=15 SBA- AGP+ 64bit- FW+ Rate=<none>


Attachments:
lspci.out (6.03 kB)

2001-07-30 22:35:37

by Paul G. Allen

[permalink] [raw]
Subject: Re: AMD-760 AGP Support

Anders Peter Fugmann wrote:
>
> I do not know if you still want reports,
> but here is one anyway:-)
>
> I've just bought an ASUS A7M266, and
> agpgart is working perfectly with my Gforce256, using the
> 'agp_try_unsupported=1' option
>
> The kernel is 2.4.7-ac3.
>
> Output from lspci -vvv is attached.
>

Thanks.

I actually have my agpgart module recognizing the AMD-762 (AMD760 MP Northbridge). I added a #define for its ID (700c) right along with the existing Irongate
#define. I no longer have to use agp_try_unsupported in order to load the agpgart driver. I haven't yet gotten the PCI code to recognize the various IDs for the
Host Bridge, PCI Bridge, ISA and IDE.

It appears that the AMD760 MP chipset has the same register map as the previous set, with some additional registers enabled for new functionality (in the older
chip, these registers are listed as Reserved).

I've also found that I my ATA100 drive is operating as a straight 16-bit IDE drive. I can enable DMA, Ultra66, Write Cache, and 32-bit I/O using hdparm, but it
will be nice when all this can be set automagically by the system.

I also see in your attachment some IDs that I have not seen in the code nor in AMDs data/rev documents. The IDs for my chipset are 700c (Host) and 700d (PCI).

PGA

--
Paul G. Allen
UNIX Admin II/Programmer
Akamai Technologies, Inc.
http://www.akamai.com
Work: (858)909-3630
Cell: (858)395-5043