Changeset 80712 in vbox for trunk/src/VBox/Additions/linux/drm/vbox_mode.c
- Timestamp:
- Sep 10, 2019 7:25:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r79694 r80712 43 43 #include <drm/drm_plane_helper.h> 44 44 #endif 45 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) 45 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) || defined(RHEL_81) 46 46 #include <drm/drm_probe_helper.h> 47 47 #endif … … 541 541 sum += edid[i]; 542 542 edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; 543 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) 543 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(RHEL_77) || defined(RHEL_81) 544 544 drm_connector_update_edid_property(connector, (struct edid *)edid); 545 545 #else … … 716 716 #endif 717 717 718 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) 718 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) || defined(OPENSUSE_151) || defined(RHEL_77) || defined(RHEL_81) 719 719 drm_connector_attach_encoder(connector, encoder); 720 720 #else
Note:
See TracChangeset
for help on using the changeset viewer.