VirtualBox

Ignore:
Timestamp:
Sep 10, 2019 7:25:36 PM (5 years ago)
Author:
vboxsync
Message:

Additions/linux: ticketref:18917: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_mode.c

    r79694 r80712  
    4343#include <drm/drm_plane_helper.h>
    4444#endif
    45 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
     45#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) || defined(RHEL_81)
    4646#include <drm/drm_probe_helper.h>
    4747#endif
     
    541541                sum += edid[i];
    542542        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)
    544544        drm_connector_update_edid_property(connector, (struct edid *)edid);
    545545#else
     
    716716#endif
    717717
    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)
    719719        drm_connector_attach_encoder(connector, encoder);
    720720#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette