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
first, to avoid stupid programming errors.
And in fact, this was how I had originally written my driver.
But since there is no formal API for the /dev/agpgart stuff, 
I guess I have to follow this behaviour.
Yeuk.


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

Reply via email to