Changeset 59635 in vbox
- Timestamp:
- Feb 10, 2016 8:00:52 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r59597 r59635 217 217 .load = vbox_driver_load, 218 218 .unload = vbox_driver_unload, 219 .lastclose = vbox_driver_lastclose, 219 220 #if LINUX_VERSION_CODE > KERNEL_VERSION(3, 17, 0) 220 221 .set_busid = drm_pci_set_busid, -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r59597 r59635 123 123 int vbox_driver_load(struct drm_device *dev, unsigned long flags); 124 124 int vbox_driver_unload(struct drm_device *dev); 125 void vbox_driver_lastclose(struct drm_device *dev); 125 126 126 127 struct vbox_gem_object; -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r59634 r59635 402 402 } 403 403 404 /** @note this is described in the DRM framework documentation. AST does not 405 * have it, but we get an oops on driver unload if it is not present. */ 406 void vbox_driver_lastclose(struct drm_device *dev) 407 { 408 struct vbox_private *vbox = dev->dev_private; 409 410 if (vbox->fbdev) 411 drm_fb_helper_restore_fbdev_mode_unlocked(&vbox->fbdev->helper); 412 } 413 404 414 int vbox_gem_create(struct drm_device *dev, 405 415 u32 size, bool iskernel,
Note:
See TracChangeset
for help on using the changeset viewer.