Remove #ifdef __FreeBSD__ around DRM_UPDATE_DRAW ioctl, as we have drawable

code (and if it does not work, we must make it work!).

Add missing entry for DRM_MODESET_IOCTL.
This commit is contained in:
bjs 2008-07-21 07:18:11 +00:00
parent ca3b7c5a9f
commit e2ae9c7df8

View File

@ -133,9 +133,8 @@ static drm_ioctl_desc_t drm_ioctls[256] = {
DRM_IOCTL_DEF(DRM_IOCTL_SG_FREE, drm_sg_free, DRM_AUTH|DRM_MASTER|DRM_ROOT_ONLY),
DRM_IOCTL_DEF(DRM_IOCTL_WAIT_VBLANK, drm_wait_vblank, 0),
#if defined(__FreeBSD__)
DRM_IOCTL_DEF(DRM_IOCTL_MODESET_CTL, drm_modeset_ctl, 0),
DRM_IOCTL_DEF(DRM_IOCTL_UPDATE_DRAW, drm_update_draw, DRM_AUTH|DRM_MASTER|DRM_ROOT_ONLY),
#endif
};
#ifdef __FreeBSD__