Changeset 86173 in vbox for trunk/src/VBox
- Timestamp:
- Sep 18, 2020 3:08:06 PM (4 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
r86172 r86173 62 62 static int vbox_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 63 63 { 64 #if RTLNX_VER_MAX(4,19,0) && RTLNX_RHEL_MAX(8,3)64 #if RTLNX_VER_MAX(4,19,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) 65 65 return drm_get_pci_dev(pdev, ent, &driver); 66 66 #else … … 304 304 305 305 static struct drm_driver driver = { 306 #if RTLNX_VER_MAX(5,4,0) && RTLNX_RHEL_MAX(8,3)306 #if RTLNX_VER_MAX(5,4,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) 307 307 .driver_features = 308 308 DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ | … … 316 316 .dev_priv_size = 0, 317 317 318 #if RTLNX_VER_MAX(4,19,0) && RTLNX_RHEL_MAX(8,3)318 #if RTLNX_VER_MAX(4,19,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) 319 319 /* Legacy hooks, but still supported. */ 320 320 .load = vbox_driver_load, -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r86172 r86173 152 152 #endif 153 153 154 #if RTLNX_VER_MAX(5,5,0) && RTLNX_RHEL_MAX(8,3)154 #if RTLNX_VER_MAX(5,5,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) 155 155 # include <drm/drmP.h> 156 156 #else /* >= 5.5.0 || RHEL >= 8.3 */ -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r86172 r86173 448 448 } 449 449 450 #if RTLNX_VER_MAX(4,19,0) && RTLNX_RHEL_MAX(8,3)450 #if RTLNX_VER_MAX(4,19,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) 451 451 int vbox_driver_load(struct drm_device *dev, unsigned long flags) 452 452 #else
Note:
See TracChangeset
for help on using the changeset viewer.