Changeset 97556 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Nov 15, 2022 5:29:28 PM (2 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
r96407 r97556 84 84 85 85 # if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99) 86 # if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_ MIN(9,1)86 # if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) 87 87 ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &driver); 88 88 # else … … 368 368 369 369 .fops = &vbox_fops, 370 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_ MAJ_PREREQ(9,1)370 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_RANGE(8,7, 8,99) && !RTLNX_RHEL_MAJ_PREREQ(9,1) 371 371 .irq_handler = vbox_irq_handler, 372 372 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r96407 r97556 158 158 # include <drm/drm_ioctl.h> 159 159 # include <drm/drm_fourcc.h> 160 # if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_ MAJ_PREREQ(9,1)160 # if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_RANGE(8,7, 8,99) && !RTLNX_RHEL_MAJ_PREREQ(9,1) 161 161 # include <drm/drm_irq.h> 162 162 # endif -
trunk/src/VBox/Additions/linux/drm/vbox_irq.c
r96407 r97556 206 206 INIT_WORK(&vbox->hotplug_work, vbox_hotplug_worker); 207 207 vbox_update_mode_hints(vbox); 208 #if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_ MAJ_PREREQ(9,1)208 #if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,1) 209 209 return request_irq(VBOX_DRM_TO_PCI_DEV(vbox->dev)->irq, vbox_irq_handler, IRQF_SHARED, vbox->dev->driver->name, vbox->dev); 210 210 #elif RTLNX_VER_MIN(3,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,1) … … 217 217 void vbox_irq_fini(struct vbox_private *vbox) 218 218 { 219 #if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_ MAJ_PREREQ(9,1)219 #if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,1) 220 220 free_irq(VBOX_DRM_TO_PCI_DEV(vbox->dev)->irq, vbox->dev); 221 221 #else
Note:
See TracChangeset
for help on using the changeset viewer.