Changeset 22588 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Aug 31, 2009 9:30:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r17938 r22588 67 67 }; 68 68 69 int vboxvideo_driver_load(struct drm_device * dev, unsigned long flags) 70 { 71 # if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 28) 72 return drm_vblank_init(dev, 1); 73 #else 74 return 0; 75 #endif 76 } 77 69 78 static struct drm_driver driver = { 70 79 /* .driver_features = DRIVER_USE_MTRR, */ 80 .load = vboxvideo_driver_load, 71 81 .reclaim_buffers = drm_core_reclaim_buffers, 72 82 .get_map_ofs = drm_core_get_map_ofs,
Note:
See TracChangeset
for help on using the changeset viewer.