search for: drm_ioctl_nr

Displaying 1 result from an estimated 1 matches for "drm_ioctl_nr".

2013 Sep 20
0
[PATCH] drm/nouveau: remove dead/ums code from nouveau_ioc32.c
...he MGA DRM. + * 32-bit ioctl compatibility routines for the NOUVEAU DRM. * * \author Dave Airlie <airlied at linux.ie> with code from patches by Egbert Eich * @@ -50,20 +50,9 @@ long nouveau_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { unsigned int nr = DRM_IOCTL_NR(cmd); - drm_ioctl_compat_t *fn = NULL; - int ret; if (nr < DRM_COMMAND_BASE) return drm_compat_ioctl(filp, cmd, arg); -#if 0 - if (nr < DRM_COMMAND_BASE + DRM_ARRAY_SIZE(mga_compat_ioctls)) - fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE]; -#endif - if (fn != NULL) - ret = (*fn)...