Changeset 52832 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Sep 24, 2014 9:11:35 AM (10 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r52599 r52832 94 94 95 95 96 static struct drm_ioctl_desc vbox_ioctls[] =97 {98 DRM_IOCTL_DEF_DRV(VBOX_DISABLE_HGSMI, VBoxDisableHGSMI,99 DRM_UNLOCKED|DRM_ROOT_ONLY),100 DRM_IOCTL_DEF_DRV(VBOX_ENABLE_HGSMI, VBoxEnableHGSMI,101 DRM_UNLOCKED|DRM_ROOT_ONLY)102 };103 104 96 static const struct file_operations vbox_fops = 105 97 { … … 127 119 .unload = vbox_driver_unload, 128 120 129 .ioctls = vbox_ioctls,130 .num_ioctls = RT_ELEMENTS(vbox_ioctls),131 121 .fops = &vbox_fops, 132 122 .name = DRIVER_NAME, -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r52612 r52832 241 241 uint32_t flags, struct vbox_bo **pvboxbo); 242 242 243 /** IOCtl handler to stop this driver using HGSMI so that user space can. */244 extern int VBoxDisableHGSMI(struct drm_device *dev, void *data,245 struct drm_file *file_priv);246 /** IOCtl handler to start this driver using HGSMI again. */247 extern int VBoxEnableHGSMI(struct drm_device *dev, void *data,248 struct drm_file *file_priv);249 250 243 int vbox_gem_create(struct drm_device *dev, 251 244 u32 size, bool iskernel,
Note:
See TracChangeset
for help on using the changeset viewer.