Re: [Dri-devel] versioning ioctl and unique changes

2003-10-22 Thread Michel Dänzer
On Wed, 2003-10-22 at 04:56, Eric Anholt wrote: > - What should the DRM do if the minor number for either DI or DD > interface is greater than the DRM knows about? Return DRM_ERR( EINVAL ) ? > - Do we want to put some reserved fields in the SET_VERSION ioctl in > case we want to extend it in som

Re: [Dri-devel] versioning ioctl and unique changes

2003-10-22 Thread Eric Anholt
On Wed, 2003-10-22 at 13:59, Michel Dänzer wrote: > On Wed, 2003-10-22 at 04:56, Eric Anholt wrote: > > - What should the DRM do if the minor number for either DI or DD > > interface is greater than the DRM knows about? > > Return DRM_ERR( EINVAL ) ? Okay, that's what it's doing. > > - Do we wa

[Dri-devel] versioning ioctl and unique changes

2003-10-21 Thread Eric Anholt
http://people.freebsd.org/~anholt/dri/files/drm-unique-2.diff Here's my first shot at the changes for unique handling in the DRI. It includes a new ioctl, DRM_IOCTL_SET_VERSION. This takes in a struct containing numbers for the major/minor version of the device independent DRM interface and majo