VirtualBox

Ignore:
Timestamp:
Sep 24, 2014 9:11:35 AM (10 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: remove private IOCtls and instead enable VBVA on every mode set.

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  
    9494
    9595
    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 
    10496static const struct file_operations vbox_fops =
    10597{
     
    127119    .unload = vbox_driver_unload,
    128120
    129     .ioctls = vbox_ioctls,
    130     .num_ioctls = RT_ELEMENTS(vbox_ioctls),
    131121    .fops = &vbox_fops,
    132122    .name = DRIVER_NAME,
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.h

    r52612 r52832  
    241241          uint32_t flags, struct vbox_bo **pvboxbo);
    242242
    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 
    250243int vbox_gem_create(struct drm_device *dev,
    251244           u32 size, bool iskernel,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette