On Fri, Dec 21, 2001 at 04:05:33PM -0800, Philip Brown wrote: > I have a question about "what if physical memory is fragmented"? > The AGIPIOC_ALLOC call returns a 'physical' address. > This implies that the ALLOC is a single contiguous chunk of physical > memory. Right? > > However, I cant imagine that it is easy to guarantee 64 megs of contiguous > physical RAM allocation. So something seems wrong with my assumption.
AGP memory is not allocated contiguously (check the calls to agp_bridge. agp_alloc_page in agp_allocate_memory). However, it does look like AGPIOC_ALLOCATE is broken. It only returns the ->physical field of the resulting agp_memory structure. It doesn't even look like this field is set for any chipsets other than the i810 and i830. Is /dev/agpgart even supposed to work on Linux? I don't think any programs use it, and the rest of the kernel used the backend interfaces directly. It's possible that the frontend has fallen out of sync with the back. Can anyone here confirm or refute this? Chris _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel