Changeset 100677 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 21, 2023 1:27:08 PM (18 months ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r98455 r100677 53 53 /** Detect whether kernel mode setting is OFF. */ 54 54 #if defined(CONFIG_VGA_CONSOLE) 55 # if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) 55 # if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) || RTLNX_SUSE_MAJ_PREREQ(15,5) 56 56 # define VBOX_VIDEO_NOMODESET() drm_firmware_drivers_only() && vbox_modeset == -1 57 57 # elif RTLNX_VER_MIN(4,7,0) … … 368 368 369 369 .fops = &vbox_fops, 370 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_RANGE(8,7, 8,99) && !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) && !RTLNX_SUSE_MAJ_PREREQ(15,5) 371 371 .irq_handler = vbox_irq_handler, 372 372 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r100653 r100677 158 158 # include <drm/drm_ioctl.h> 159 159 # include <drm/drm_fourcc.h> 160 # if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_RANGE(8,7, 8,99) && !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) && !RTLNX_SUSE_MAJ_PREREQ(15,5) 161 161 # include <drm/drm_irq.h> 162 162 # endif … … 190 190 #endif 191 191 192 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) 192 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) || RTLNX_SUSE_MAJ_PREREQ(15,5) 193 193 # include <drm/drm_framebuffer.h> 194 194 #endif … … 537 537 void vbox_irq_fini(struct vbox_private *vbox); 538 538 void vbox_report_hotplug(struct vbox_private *vbox); 539 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_MAJ_PREREQ(9,1) 539 #if RTLNX_VER_MAX(5,15,0) && !RTLNX_RHEL_MAJ_PREREQ(9,1) && !RTLNX_SUSE_MAJ_PREREQ(15,5) 540 540 irqreturn_t vbox_irq_handler(int irq, void *arg); 541 541 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r100653 r100677 379 379 380 380 #ifdef CONFIG_FB_DEFERRED_IO 381 # if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,3) 381 # if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,3) || RTLNX_SUSE_MAJ_PREREQ(15,5) 382 382 info->fix.smem_len = info->screen_size; 383 383 # endif -
trunk/src/VBox/Additions/linux/drm/vbox_irq.c
r98103 r100677 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_RANGE(8,7, 8,99) || 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) || RTLNX_SUSE_MAJ_PREREQ(15,5) 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_RANGE(8,7, 8,99) || 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) || RTLNX_SUSE_MAJ_PREREQ(15,5) 220 220 free_irq(VBOX_DRM_TO_PCI_DEV(vbox->dev)->irq, vbox->dev); 221 221 #else -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r100653 r100677 51 51 #endif 52 52 53 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) 53 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) || RTLNX_SUSE_MAJ_PREREQ(15,5) 54 54 # include <drm/drm_edid.h> 55 55 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r100653 r100677 322 322 tt->func = &vbox_tt_backend_func; 323 323 #endif 324 #if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) 324 #if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) || RTLNX_SUSE_MAJ_PREREQ(15,5) 325 325 if (ttm_tt_init(tt, bo, page_flags, ttm_write_combined, 0)) { 326 326 #elif RTLNX_VER_MIN(5,11,0) || RTLNX_RHEL_RANGE(8,5, 8,99) … … 629 629 #endif 630 630 631 #if RTLNX_VER_MIN(6,1,0) || RTLNX_RHEL_MAJ_PREREQ(9,3) 631 #if RTLNX_VER_MIN(6,1,0) || RTLNX_RHEL_MAJ_PREREQ(9,3) || RTLNX_SUSE_MAJ_PREREQ(15,5) 632 632 ret = ttm_bo_init_validate(&vbox->ttm.bdev, &vboxbo->bo, 633 633 #else
Note:
See TracChangeset
for help on using the changeset viewer.