On Monday 17 December 2001 2:55 pm, Philip Brown wrote:
> On Mon, Dec 17, 2001 at 10:52:04PM +0100, Alexander Stohr wrote:
> > ...
> > Anyways, you might consider reading open source like existing
> > 440BX coding in agpgart in order to see what is required.
>
> err, that's what I'm DOING :-) Trouble is, there are virtually zero
> comments in the /dev/agpgart driver, and I'm not intimately familiar
> with the linux page allocation stuff, so it's not clear to me what kind
> of values are being put in the GATT table: addresses, or page numbers,
> or...

It depends on the chipset.  :-)  Typically it is physical addresses, with 
an extra bit OR'd in to tell the chipset the entry is valid.  The Intel 
460GX is an exception; I think its GATT entries are page numbers with an 
extra bit.

In general, the GATT entries are the output of the *_mask() functions, 
which take a physical address and a type as arguments.

-- 
Bjorn Helgaas - [EMAIL PROTECTED]
Linux Systems Operation R&D
Hewlett-Packard

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to