From cb88de794be30d60989e7721afbe48c8deca58a5 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 16 Nov 2012 10:21:40 +0000 Subject: expose dumb fb ioctls --- sys/dev/pci/drm/drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/drm/drm_drv.c') 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) -- cgit v1.2.3