2003-08-26 12:26:44

by Marcelo E. Magallon

[permalink] [raw]
Subject: [PATCH,BACKPORT] AGPGART support for Intel 7205/7505 chipsets

Hi Marcelo,

On Mon, Aug 04, 2003 at 02:39:55PM -0300, Marcelo Tosatti wrote:

> I prefer this getting applied at 2.4.23-pre.

Ok, here's the patch again against what's current in the BK tree. I
just checked that it still applies and works with 2.4.22.

> > The only hardware I have access to is from NVIDIA, which means I
> > haven't been able to test this with a non-tainted kernel, but I
> > don't expect this to be a problem.

In the meanwhile I have verified that Radeon 9[578]00 cards also work.
(ATI's drivers).

Question for the list: the machines where I'm testing this have 4GB of
RAM. The MTRRs look like this after starting the X server:

reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size= 512MB: write-back, count=1
reg03: base=0xd8000000 (3456MB), size= 128MB: uncachable, count=1
reg04: base=0x100000000 (4096MB), size=4096MB: write-back, count=1
reg05: base=0x200000000 (8192MB), size=8192MB: write-back, count=1
reg06: base=0xe0000000 (3584MB), size= 128MB: write-combining, count=1
reg07: base=0xf0000000 (3840MB), size= 64MB: write-combining, count=1

6 and 7 are set up by the X server. Originally 6 and 7 were two big
(16 GB and 32 GB) areas (at 0x400000000 and 0x80000000). After
removing those by hand and starting the X server AGP works (in case of
the ATI drivers, the X server won't even come up if AGP can't be
enabled).

The question is what are those areas for? (I mean 4 and 5 and the
original 6 and 7) There's no physical memory there...

TIA,

Marcelo


Attachments:
(No filename) (1.59 kB)
agpgart-i7505.diff (3.65 kB)
Download all attachments

2003-08-27 09:19:24

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [PATCH,BACKPORT] AGPGART support for Intel 7205/7505 chipsets

On Wednesday 27 August 2003 11:10, Marcelo E. Magallon wrote:

Hi Marcelo,

> > Ok, here's the patch again against what's current in the BK tree. I
> > just checked that it still applies and works with 2.4.22.
> I am sorry, I just noticed I omitted the diff of the include/linux
> directory. The missing bits are attached. The whole patch is
> available from:
> http://people.debian.org/~mmagallo/agp-i7x05.diff

you know that your patch is already in? ;-)

http://linux.bkbits.net:8080/linux-2.4/[email protected]?nav=index.html|ChangeSet@-2d

ciao, Marc

2003-08-27 09:10:46

by Marcelo E. Magallon

[permalink] [raw]
Subject: Re: [PATCH,BACKPORT] AGPGART support for Intel 7205/7505 chipsets

On Tue, Aug 26, 2003 at 02:26:12PM +0200, Marcelo E. Magallon wrote:

> Ok, here's the patch again against what's current in the BK tree. I
> just checked that it still applies and works with 2.4.22.

I am sorry, I just noticed I omitted the diff of the include/linux
directory. The missing bits are attached. The whole patch is
available from:

http://people.debian.org/~mmagallo/agp-i7x05.diff

Cheers,

Marcelo


Attachments:
(No filename) (437.00 B)
agp-i7x05-defines.diff (331.00 B)
Download all attachments