Re: [Fwd: Re: OOPS in agpgart (2.4.13, 2.4.15pre7)]

From: Didier Moens (Didier.Moens@dmb001.rug.ac.be)
Date: Tue Nov 27 2001 - 05:48:35 EST


Nicolas Aspert wrote:

>
>>
>>
>> To sum up : this is an IBM A30p, with an "external" Radeon Mobility LY
>> (32 MB), and an 830MP instead of an 830M. The 830MP is common for both
>> IBM A30 and A30p models.
>>
>>
>
> OK ! so you _do_ have an external graphic card (that's what looked
> unclear to me),
> for which AGP should work in the same way it does for other Intel
> chipsets...
>
> So why not trying the little patch I attach below, which should make
> your stuff work, without breaking too much the i830 support for on-board
> adapters... The patch is for 2.4.16, but is likely to be applied easily
> on another recent kernel. Keep me informed...

1. modprobe agpgart loads OK :

Nov 27 11:34:47 localhost kernel: Linux agpgart interface v0.99 (c) Jeff
Hartmann
Nov 27 11:34:47 localhost kernel: agpgart: Maximum main memory to use
for agp memory: 439M
Nov 27 11:34:47 localhost kernel: agpgart: Detected an Intel 830M, but
could not find the secondary device.
Nov 27 11:34:47 localhost kernel: agpgart: Trying the Intel 830MP stuff
Nov 27 11:34:47 localhost kernel: agpgart: Detected Intel i830M chipset
Nov 27 11:34:47 localhost kernel: agpgart: AGP aperture is 256M @ 0xd0000000

[root@localhost agp]# /home/didier/repository/kernel/testgart
version: 0.99
bridge id: 0x35758086
agp_mode: 0x1f000217
aper_base: 0xd0000000
aper_size: 256
pg_total: 112384
pg_system: 112384
pg_used: 0
entry.key : 0
entry.key : 1
Allocated 8 megs of GART memory
MemoryBenchmark: 858 mb/s
MemoryBenchmark: 876 mb/s
MemoryBenchmark: 890 mb/s
Average speed: 874 mb/s
Testing data integrity (1st pass): passed on first pass.
Testing data integrity (2nd pass): passed on second pass.

2. compared to Stephan's original patches ("if i830m_dev ..." and
"break;") :

Nov 27 11:37:07 localhost kernel: Linux agpgart interface v0.99 (c) Jeff
Hartmann
Nov 27 11:37:07 localhost kernel: agpgart: Maximum main memory to use
for agp memory: 439M
Nov 27 11:37:07 localhost kernel: agpgart: Detected Intel i830M chipset
Nov 27 11:37:07 localhost kernel: agpgart: AGP aperture is 256M @ 0xd0000000

[root@localhost agp]# /home/didier/repository/kernel/testgart
version: 0.99
bridge id: 0x35758086
agp_mode: 0x1f000217
aper_base: 0xd0000000
aper_size: 256
pg_total: 112384
pg_system: 112384
pg_used: 0
entry.key : 0
entry.key : 1
Allocated 8 megs of GART memory
MemoryBenchmark: 859 mb/s
MemoryBenchmark: 887 mb/s
MemoryBenchmark: 876 mb/s
Average speed: 874 mb/s
Testing data integrity (1st pass): passed on first pass.
Testing data integrity (2nd pass): passed on second pass.

Is the 8 megs of GART OK ?
Is the memory benchmark comparable to equally equipped machines (1.2G
P-III(M), i830(MP), ATI Radeon(M)) ? (I'm trying to differentiate my
performance problem between agpgart and X DRI/DRM).

Kind regards,

Didier

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:26 EST