Changeset 68336 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Aug 8, 2017 9:35:32 AM (7 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
r68334 r68336 244 244 } 245 245 246 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) 246 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) && !defined(RHEL_74) 247 247 static void vbox_master_drop(struct drm_device *dev, 248 248 struct drm_file *file_priv, bool from_release) -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r68334 r68336 205 205 int r; 206 206 207 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) 207 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) && !defined(RHEL_74) 208 208 r = ttm_bo_move_memcpy(bo, evict, no_wait_gpu, new_mem); 209 #elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) 209 #elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) && !defined(RHEL_74) 210 210 r = ttm_bo_move_memcpy(bo, evict, interruptible, no_wait_gpu, new_mem); 211 211 #else … … 260 260 .ttm_tt_unpopulate = vbox_ttm_tt_unpopulate, 261 261 .init_mem_type = vbox_bo_init_mem_type, 262 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) 262 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) || defined(RHEL_74) 263 263 .eviction_valuable = ttm_bo_eviction_valuable, 264 264 #endif … … 271 271 .io_mem_pfn = ttm_bo_default_io_mem_pfn, 272 272 #endif 273 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) 273 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)) \ 274 || defined(RHEL_74) 274 275 .lru_tail = &ttm_bo_default_lru_tail, 275 276 .swap_lru_tail = &ttm_bo_default_swap_lru_tail,
Note:
See TracChangeset
for help on using the changeset viewer.