[Dri-devel] initial release of solaris agpgart (v0.9) [+question]

2001-12-26 Thread Philip Brown
Yes, it's about time, but here's something to look at :-) I still havent got the "testgart" program happy with unbind/rebind. BUT: a smaller test program I wrote, with smaller memory chunks, DOES work for unbind/rebind. So, the hell with it, I'll call this my initial release. If anyone wants to m

Re: [Dri-devel] agp: DEALLOC implies UNBIND

2001-12-26 Thread Philip Brown
Judging by the testgart.c program written by Jeff Hartmann, (a copy is at http://ltswww.epfl.ch/~aspert/patches/testgart.c ) an AGP driver is expected to silently unbind a key, if ioctl(AGPIOC_DEALLOC) is called. I find this extremely inconsistent: I think the UNBIND should be mandatory firs

Re: [Dri-devel] agp progress, issues

2001-12-26 Thread Philip Brown
On Wed, Dec 26, 2001 at 05:40:49PM -0500, David Dawes wrote: > ... > I don't know what precisely testgart is testing here, but I do know > of a case where there can be an unbind followed by a rebind. > > The i810 driver does unbind/rebind. It unbinds (and releases) when > the X server gives up i

Re: [Dri-devel] agp progress, issues

2001-12-26 Thread David Dawes
On Wed, Dec 26, 2001 at 02:26:13PM -0800, Philip Brown wrote: >I now have my solaris agp driver to where it can be mmap-able from the user >perspective. I have not tried to recompile xfree with it yet, because : > > The "testgart" program I have, does an UNBIND and re-BIND as part of its > testi

[Dri-devel] agp progress, issues

2001-12-26 Thread Philip Brown
I now have my solaris agp driver to where it can be mmap-able from the user perspective. I have not tried to recompile xfree with it yet, because : The "testgart" program I have, does an UNBIND and re-BIND as part of its testing. My driver fails the rebind. Is this rebinding common? The only