Changeset 85649 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 8, 2020 1:35:48 PM (4 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r83109 r85649 327 327 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_72) 328 328 # if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75) \ 329 && !defined(OPENSUSE_151) 329 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 330 330 .set_busid = drm_pci_set_busid, 331 331 # endif -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r84255 r85649 90 90 # if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 1 91 91 # define OPENSUSE_151 92 # endif 93 # if CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL >= 5 94 # define OPENSUSE_125 92 95 # endif 93 96 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r82968 r85649 606 606 #endif 607 607 608 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0) && !defined(OPENSUSE_151) && !defined(RHEL_77) && !defined(RHEL_81) 608 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0) && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) \ 609 && !defined(RHEL_77) && !defined(RHEL_81) 609 610 static void ttm_bo_put(struct ttm_buffer_object *bo) 610 611 { -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r83073 r85649 548 548 sum += edid[i]; 549 549 edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; 550 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(RHEL_77) || defined(RHEL_81) 550 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(OPENSUSE_125) \ 551 || defined(RHEL_77) || defined(RHEL_81) 551 552 drm_connector_update_edid_property(connector, (struct edid *)edid); 552 553 #else … … 723 724 #endif 724 725 725 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(RHEL_77) || defined(RHEL_81) 726 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(OPENSUSE_125) \ 727 || defined(RHEL_77) || defined(RHEL_81) 726 728 drm_connector_attach_encoder(connector, encoder); 727 729 #else -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r84255 r85649 212 212 213 213 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0)) && !defined(RHEL_76) \ 214 && !defined(OPENSUSE_151) 214 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 215 215 static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, 216 216 unsigned long size, … … 230 230 tt->func = &vbox_tt_backend_func; 231 231 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0)) && !defined(RHEL_76) \ 232 && !defined(OPENSUSE_151) 232 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 233 233 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { 234 234 #else … … 244 244 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0) 245 245 # if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)) && !defined(RHEL_76) \ 246 && !defined(OPENSUSE_151) 246 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 247 247 static int vbox_ttm_tt_populate(struct ttm_tt *ttm) 248 248 { … … 279 279 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) || defined(RHEL_75) 280 280 # if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)) && !defined(RHEL_76) \ 281 && !defined(OPENSUSE_151) 281 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 282 282 .io_mem_pfn = ttm_bo_default_io_mem_pfn, 283 283 # endif … … 430 430 ttm_bo_type_device, &vboxbo->placement, 431 431 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0) && !defined(RHEL_76) \ 432 && !defined(OPENSUSE_151) 432 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 433 433 align >> PAGE_SHIFT, false, NULL, acc_size, 434 434 #else … … 460 460 { 461 461 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0)) || defined(RHEL_76) \ 462 || defined(OPENSUSE_151) 462 || defined(OPENSUSE_151) || defined(OPENSUSE_125) 463 463 struct ttm_operation_ctx ctx = { false, false }; 464 464 #endif … … 479 479 480 480 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)) && !defined(RHEL_76) \ 481 && !defined(OPENSUSE_151) 481 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 482 482 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); 483 483 #else … … 498 498 { 499 499 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0)) || defined(RHEL_76) \ 500 || defined(OPENSUSE_151) 500 || defined(OPENSUSE_151) || defined(OPENSUSE_125) 501 501 struct ttm_operation_ctx ctx = { false, false }; 502 502 #endif … … 515 515 516 516 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)) && !defined(RHEL_76) \ 517 && !defined(OPENSUSE_151) 517 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 518 518 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); 519 519 #else … … 534 534 { 535 535 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0)) || defined(RHEL_76) \ 536 || defined(OPENSUSE_151) 536 || defined(OPENSUSE_151) || defined(OPENSUSE_125) 537 537 struct ttm_operation_ctx ctx = { false, false }; 538 538 #endif … … 556 556 557 557 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)) && !defined(RHEL_76) \ 558 && !defined(OPENSUSE_151) 558 && !defined(OPENSUSE_151) && !defined(OPENSUSE_125) 559 559 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); 560 560 #else
Note:
See TracChangeset
for help on using the changeset viewer.