RE: [Dri-devel] agp: what if memory is fragmented?

2002-01-07 Thread Alexander Stohr
From: Philip Brown [mailto:[EMAIL PROTECTED]] I thought that was just from the perspective of the graphics card. A GART memory mapping is a memory range that is visible from the grafics card (if on AGP socket) and from the CPU (or CPUs). The GART memory area is looking just as a PCI card that

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-24 Thread Philip Brown
On Sun, Dec 23, 2001 at 01:46:56PM -0800, Gareth Hughes wrote: You return the physical address of the *AGP aperture*, not the first page *in* the aperture. Remember, the AGP aperture is a physically-contiguous block of memory that can have scattered pages mapped into it. Thus, graphics

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-23 Thread Philip Brown
On Sat, Dec 22, 2001 at 02:30:14AM +0100, Alexander Stohr wrote: The GART is the paging unit of the AGP system. It deals nicely with fragmented chunks of page sized memory chunks. So you only need some sort of memory allocation and a way to determine eachs pages physical adress to use it

RE: [Dri-devel] agp: what if memory is fragmented?

2001-12-23 Thread Alexander Stohr
The GART is the paging unit of the AGP system. It deals nicely with fragmented chunks of page sized memory chunks. So you only need some sort of memory allocation and a way to determine eachs pages physical adress to use it for those GART purposes. You just need to ensure that your memory is

RE: [Dri-devel] agp: what if memory is fragmented?

2001-12-23 Thread Sottek, Matthew J
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. You don't need anything other than the key. This isn't a general purpose

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-23 Thread Gareth Hughes
On Fri, Dec 21, 2001 at 05:34:43PM -0800, Philip Brown wrote: On Sat, Dec 22, 2001 at 02:30:14AM +0100, Alexander Stohr wrote: The GART is the paging unit of the AGP system. It deals nicely with fragmented chunks of page sized memory chunks. So you only need some sort of memory

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-22 Thread Abraham vd Merwe
Hi Philip! Sorry if this is repeat: haven't seen my original show up in 12 hours. I have a question about what if physical memory is fragmented? The AGIPIOC_ALLOC call returns a 'physical' address. Not always. Only if the alloc type 0 (which is chip specific). Otherwise, you're not

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-22 Thread Daryll Strauss
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

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-22 Thread Keith Whitwell
Daryll Strauss wrote: 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?

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-21 Thread Chris Ahna
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

Re: [Dri-devel] agp: what if memory is fragmented?

2001-12-21 Thread Abraham vd Merwe
Hi Chris! 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