Le vendredi 13 juin 2008 à 18:28 +0200, Tomas Carnecky a écrit : > I have read (don't remember where) that once the kernel has a sensible > infrastructure for file descriptors you'd want to convert all the ioctl > code in GEM/TTM to standard syscalls. Is that true? Do you already know > which syscalls would replace for example drmBOCreate() or the GEM_CREATE > ioctl? Both functions create a new handle, so open(2) would be a > candidate, but both functions also take a 'size' argument, which open > doesn't support, so you'd still have to implement an fcntl/ioctl > interface for such things.
ftruncate() ? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel