diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2012-11-16 10:21:40 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-01-10 12:20:54 +1100 |
commit | cb88de794be30d60989e7721afbe48c8deca58a5 (patch) | |
tree | 52a9a13afdefbf6c963750b6157a79d398c2ee3e /sys/dev/pci/drm/drm_drv.c | |
parent | 42256b3269a00c46e66f40ea6b7335cb54be0f8b (diff) |
expose dumb fb ioctls
Diffstat (limited to 'sys/dev/pci/drm/drm_drv.c')
-rw-r--r-- | sys/dev/pci/drm/drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index f0d08f794c0..ab097dcd9b5 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -745,15 +745,15 @@ drmioctl(dev_t kdev, u_long cmd, caddr_t data, int flags, return drm_mode_page_flip_ioctl(dev, data, file_priv); case DRM_IOCTL_MODE_DIRTYFB: return drm_mode_dirtyfb_ioctl(dev, data, file_priv); +#endif case DRM_IOCTL_MODE_CREATE_DUMB: return drm_mode_create_dumb_ioctl(dev, data, file_priv); case DRM_IOCTL_MODE_MAP_DUMB: - return drm_mode_mmap_dump_ioctl(dev, data, file_priv); + return drm_mode_mmap_dumb_ioctl(dev, data, file_priv); case DRM_IOCTL_MODE_DESTROY_DUMB: return drm_mode_destroy_dumb_ioctl(dev, data, file_priv); -#endif } } if (dev->driver->ioctl != NULL) |