Changeset 85684 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 11, 2020 11:18:43 AM (4 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r85649 r85684 51 51 #include <linux/pci.h> 52 52 53 /** @def VBOX_RHEL_MAJ_PREREQ 54 * Require a minium minor release number for the given RedHat release. 55 * @param a_iMajor RHEL_MAJOR must _equal_ this. 56 * @param a_iMinor RHEL_MINOR must be greater or equal to this. 57 */ 53 58 #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) 59 # define VBOX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) ((RHEL_MAJOR) == (a_iMajor) && (RHEL_MINOR) >= (a_iMinor)) 54 60 # if RHEL_MAJOR == 8 && RHEL_MINOR >= 2 55 61 # define RHEL_82 … … 85 91 # define RHEL_70 86 92 # endif 93 #else 94 # define VBOX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) 0 87 95 #endif 88 96 -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r84255 r85684 342 342 */ 343 343 drm_fb_helper_fill_info(info, &fbdev->helper, sizes); 344 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_72)) && !defined(RHEL_82)344 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || VBOX_RHEL_MAJ_PREREQ(7, 5) 345 345 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); 346 346 #else
Note:
See TracChangeset
for help on using the changeset viewer.