Changeset 84255 in vbox
- Timestamp:
- May 11, 2020 2:32:23 PM (5 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r83073 r84255 52 52 53 53 #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) 54 # if RHEL_MAJOR == 8 && RHEL_MINOR >= 2 55 # define RHEL_82 56 # endif 54 57 # if RHEL_MAJOR == 8 && RHEL_MINOR >= 1 55 58 # define RHEL_81 -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r83878 r84255 336 336 info->apertures->ranges[0].size = pci_resource_len(dev->pdev, 0); 337 337 338 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0) 338 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0) || defined(RHEL_82) 339 /* 340 * The corresponding 5.2-rc1 Linux DRM kernel changes have been 341 * also backported to older RedHat based 4.18.0 Linux kernels. 342 */ 339 343 drm_fb_helper_fill_info(info, &fbdev->helper, sizes); 340 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_75)344 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_72)) && !defined(RHEL_82) 341 345 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); 342 346 #else 343 347 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); 344 348 #endif 345 #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) 349 #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && !defined(RHEL_82) 346 350 drm_fb_helper_fill_var(info, &fbdev->helper, sizes->fb_width, 347 351 sizes->fb_height); -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r83073 r84255 313 313 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) 314 314 dev->vma_offset_manager, 315 #elif LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) 315 #elif LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && !defined(RHEL_82) 316 316 DRM_FILE_PAGE_OFFSET, 317 317 #endif -
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r82968 r84255 476 476 # define RHEL_81 477 477 # endif 478 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 2) 479 # define RHEL_82 480 # endif 478 481 #endif 479 482
Note:
See TracChangeset
for help on using the changeset viewer.